> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blacksmith.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Get started

> Connect GitHub, then send your first task.

\[code]smith is a coding agent that works in its own cloud environment and opens pull requests. Connect it to your code, give it a task, and close your laptop.

**1. Connect**

<video autoPlay loop muted playsInline src="https://mintcdn.com/blacksmith/nbjvrnrvcCRYe1_Q/images/codesmith/build.mp4?fit=max&auto=format&n=nbjvrnrvcCRYe1_Q&q=85&s=eee33b91bbec13b0250590236d1d2154" title="[code]smith on GitHub" />

GitHub[Install the Blacksmith GitHub App](https://app.blacksmith.sh) and choose which repositories it can access.

<video autoPlay loop muted playsInline src="https://mintcdn.com/blacksmith/nbjvrnrvcCRYe1_Q/images/codesmith/slack.mp4?fit=max&auto=format&n=nbjvrnrvcCRYe1_Q&q=85&s=e19396a4d81ddbdca160914a440f8023" title="[code]smith on Slack" />

Slack Optional[Add \[code\]smith to Slack](https://slack.com/oauth/v2/authorize?client_id=6405844366960.10016658702295\&scope=assistant:write,app_mentions:read,channels:history,channels:join,channels:read,chat:write,files:read,files:write,groups:history,groups:read,im:history,im:read,im:write,mpim:history,mpim:read,reactions:read,reactions:write,users:read\&user_scope=), then mention @codesmith in any channel or thread.

Once GitHub is connected, you can also start from the [web app](https://app.blacksmith.sh/sessions/new?entry=docs) or by mentioning @codesmith on a pull request.

**2. Send a first task**

Small

Find the flakiest test in this repo, fix it, and show me it passing 20 times in a row.

You get back: 1 PR and the test log.

[See video proof →](https://docs.blacksmith.sh/codesmith/examples.md#video-proof)
Try it in \[code]smith

Medium

Find the slowest page in our web app, fix what makes it slow, and show before and after numbers.

You get back: 1 PR and a before/after table.

[See a performance target →](https://docs.blacksmith.sh/codesmith/examples.md#frame-budget)
Try it in \[code]smith

Big

Pick a page in our app that could look better. Build five different versions and show me a screenshot of each so I can pick one.

You get back: 5 screenshots, then 1 PR for your pick.

[See five versions →](https://docs.blacksmith.sh/codesmith/examples.md#five-versions)
Try it in \[code]smith

**3. What happens next**

It works in its own environment and opens a pull request. It watches that PR and pushes fixes when CI fails or a reviewer comments. Click "Autofix with \[code]smith" in any other PR's footer to turn that on there. You review and merge; it never merges for you.

[Connect your other tools](https://docs.blacksmith.sh/codesmith/integrations.md) so \[code]smith can use them during a task.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.