Start here
Getting started
Second Shift looks after your product while you’re away. When an alert fires or a customer reports a problem, it reads your code, finds the root cause, drafts the fix and the reply to your customer, then waits for you to approve. Setup takes about 15 minutes.
How it works
- Something breaks. An error from Sentry, an alert from Datadog or PagerDuty, a failed CI run, or a Slack message from your team.
- It becomes one incident. Repeats of the same error join it instead of opening new ones, and reports from the same problem are counted.
- The agent investigates. It reads the stack trace and the code it points to in your repository, then explains the root cause with a confidence score.
- You decide. Ask for a fix and it opens a pull request for review. Status updates and replies wait in an approval queue. Nothing ships without a yes.
Set up in four steps
Sign in at the dashboard, open your organization, and go to Settings → Integrations. The checklist at the top tracks these steps.
- Connect GitHub
Install the Second Shift GitHub App on the repositories it should look after, then add them as projects. Connect GitHub →
- Choose how AI is paid for
Paid plans include AI usage each month. During the free trial, and on any plan if you prefer, add your own Anthropic API key on the
Anthropiccard (create one at console.anthropic.com). - Connect an alert source
Sentry is the best start: its alerts carry the stack trace the investigation needs. Connect Sentry →
Datadog, PagerDuty and GitHub Actions work the same way: copy the webhook URL from Settings into the tool and save the secret.
- Optional: connect Slack
Your team reports problems with
@Second Shift, follows each incident in a thread and can ask for a fix from Slack. Slack and Teams → - Invite your team
Under
Members, invite whoever approves fixes, status updates and replies. UnderMessages, they review what goes on your public status page and the replies to people who reported a problem.
What happens next
- New incidents are investigated within seconds. The incident page shows every step on its timeline, with the agent’s reasoning.
- If an investigation can’t finish (for example the AI provider is down), it retries by itself and tells you when.
- “Generate fix PR” on an incident opens a pull request on its own branch. When you merge it, the incident resolves and the resolution update is drafted.
- Problems with setup? See Troubleshooting. Questions about data? See Your data.