# Setup

> Get your account, workspace, and repository ready before using any surface.

Before you chat with Astrid from the [web app](https://docs.abstraction.dev/web.md), the
[CLI](https://docs.abstraction.dev/cli.md), [Slack](https://docs.abstraction.dev/slack.md), or an [MCP](https://docs.abstraction.dev/mcp.md)
client, connect a repository and configure your workspace. This is a one-time
setup, done in the web app, that every surface builds on.

## Get started

1. [Sign in and connect a repository](https://docs.abstraction.dev/setup/getting-started.md).
2. [Generate an API key](https://docs.abstraction.dev/setup/api-keys.md) if you'll use the CLI or MCP.
3. [Set up code review](https://docs.abstraction.dev/code-review/getting-started.md) for automated PR reviews.
4. [Add a repository config](https://docs.abstraction.dev/setup/repository-config.md) to choose which folders
   are analyzed and reviewed.
