# Welcome to AI SRE

![errors.png](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/ab092981-3070-4a3b-8a61-a4a72b1f2e00/md1x =2600x878)

AI SRE is **Better Stack's chat‑based site reliability assistant**. It can read your telemetry data, look at incidents, build dashboards, and even write code to fix errors, all within a single conversation.

Start a new chat in **AI SRE** → [New chat](https://chat.betterstack.com/team/0/chats/new ";_blank").

The agent has **access to your team's logs, metrics, traces, incidents, and on‑call schedules**. It can also connect to third‑party tools like [GitHub](https://betterstack.com/docs/ai-sre/integrations/github/), [Sentry](https://betterstack.com/docs/ai-sre/integrations/sentry/), and [Datadog](https://betterstack.com/docs/ai-sre/integrations/datadog/) to get a complete picture during an investigation.

<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
  <iframe 
    style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" 
    src="https://www.youtube.com/embed/3bw21kiNAuM" 
    title="YouTube video player" 
    frameborder="0" 
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" 
    referrerpolicy="strict-origin-when-cross-origin" 
    allowfullscreen>
  </iframe>
</div>

## Start your first conversation

There are several ways to start an AI SRE conversation:

-   In [AI SRE](https://chat.betterstack.com/team/0/chats/new ";_blank"), start a new chat from the sidebar.
-   In [Errors](https://errors.betterstack.com/team/0/errors ";_blank"), click **Create pull request** on an error to have AI SRE create a GitHub pull request with a fix. With an application linked to a GitLab repository, the button reads **Create merge request**.
-   In a [Slack](https://betterstack.com/docs/uptime/sending-alerts-to-slack/) or [Microsoft Teams](https://betterstack.com/docs/uptime/microsoft-teams/) thread, mention the `@Better Stack` bot to quickly start a chat.  
    To enable this in Slack, go to **Incidents** -> [Integrations](https://incidents.betterstack.com/team/0/integrations ";_blank") -> **Configure** and check the **Start an AI SRE conversation when Better Stack is tagged** option.
-   Or **continue an existing conversation** from your chat history.

<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
  <iframe 
    style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" 
    src="https://www.youtube.com/embed/lGIxsTyUYho" 
    title="YouTube video player" 
    frameborder="0" 
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" 
    referrerpolicy="strict-origin-when-cross-origin" 
    allowfullscreen>
  </iframe>
</div>

## Bring context into the chat

Drop any of your incidents, errors, applications, sources, or Slack threads directly in the chat. Use the `@` mention to reference Better Stack resources in the message box.

Pasting long text, like a JSON export, or dropping a file will upload it as an attachment.

![Incident AI SRE analysis](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/59ff4f1f-5cac-4352-1523-e733880aae00/lg2x =2928x2622)

## Chat history

Conversations resume where you left off. The agent retains all context, so you can close the tab and continue your investigation later without starting over.
