# Set up the AI assistant

Connect an AI provider, turn on the in-app assistant, and use it to ask about jobs or draft a flow.

Source: https://support.rework.com/article/set-up-the-ai-assistant

Service flows can bring AI into two places: **AI Agent** steps inside a flow, and an **AI Assistant** that anyone can chat with while they work. The assistant explains the jobs and services you already have access to, and can draft a flow or create jobs when you ask it to. Both run on your own AI provider account, so an admin connects a provider first. Let's get it set up.

> **Note:** Connecting a provider for the whole workspace and switching on the assistant need the **App Admin** role. Anyone can add a personal key for their own use.

## Step 1: Connect an AI provider

1. In the left sidebar, click **Settings**, then **AI Providers** under **Workspace**.
   
2. Click **New connection**.
   
3. **In-app AI Assistant** is the switch for the chat assistant. It stays off until you turn it on in Step 3.
   

![Settings, AI Providers page with New connection and the In-app AI Assistant switch](https://storage.googleapis.com/reworkv3-public/success/260923/OaoF1qOHob1A4nOaZKp9qYp1fy7PfqKdffxgVtZHYbUrggRYCWtC8byHEgpYOErH/img.OMgMLV8w7czVGPPOxz9iFqC0IjfM7YJeoD6Glpy09YbYgC5ecZsJk1fDub5MW3oT.png)

## Step 2: Fill in the connection

In **New AI connection**:

1. **Provider**: the AI provider you have an account with, for example _Anthropic (Claude)_. For a compatible provider, also enter its **Base URL**.
   
2. **Name** and **API key**: a name your team will recognise, for example _Claude - team key_, and the key from your provider account. **Model** is optional; leave it blank to use the provider's default.
   
3. **Visibility**: **Workspace - everyone in this workspace** shares the key, or **Personal - only me** keeps it for you.
   
4. Click **Test connection** to check the key works, then **Create connection**.
   

![New AI connection dialog with Provider, Name, API key, Visibility and the Test and Create buttons](https://storage.googleapis.com/reworkv3-public/success/260923/Ner8pF6DmFRN2dcx6VsSl0cEqoksCpull2KtuPhVGjJCz708VRpbibWIq2AKkWp9/img.j5flsWwjpSv6ez69TNXPx40ZYoBg5i09HjNHQFMUejGvNaNfAT86LBptFBQfizpm.png)

> **Warning:** The key is never shown again after you save it. Keep a copy in your provider account, and use **Edit** later to replace it if it changes.

## Step 3: Turn on the assistant

- Back on **AI Providers**, switch on **In-app AI Assistant**.
  
- When it's on, members get a chat assistant that explains records they can already see. The content of those records may be sent to the connected AI provider, so check this fits your company's data policy first.
  

## Step 4 (optional): Add a personal key

If your workspace has no shared key, no problem: each person can add their own.

1. Click **Settings**, then **AI keys** under **Account**.
   
2. Click **New connection** and fill in the same form. A personal key is used only for you.
   

![Settings, AI keys page with the New connection button](https://storage.googleapis.com/reworkv3-public/success/260923/aDwFxThEW2xSi01wjWr1p34TPChaI6IS0nL7ddT1BYdmemMp32bVl2DyVELkPCIm/img.cTQ4PeBGi39WGGdigjotnX9OKXfVP4nxRq8w7k4mT3An0BD9MPl15f4cJpKvsH5E.png)

## What you can ask the assistant

Open the assistant from the **AI Assistant** button, then type in the chat box. It can:

| **You want to** | **Ask, for example** |
| --- | --- |
| Understand a job | _Why is the Figma seats request still waiting?_ |
| Find work | _Which purchase requests over $5,000 are waiting on Finance?_ |
| Draft a flow | _Build a flow for customer complaints: log it, investigate, reply to the customer, close._ |
| Start jobs | _Create an IT support request for Hazel's laptop that won't wake from sleep._ |

- Type **/** to see the actions it can take, or **@** to mention someone.
  
- Attach an image or a document (PDF, Word, Excel) and ask about it.
  
- When the assistant proposes a change, such as a new flow or a job, nothing happens until you confirm it. A drafted flow appears on the Builder canvas for you to review and edit before you use it.
  

> **Note:** The assistant only sees what you can see. It follows the same access rules as the rest of the app, so it can't reveal a job or a field you're not allowed to open.

💡 To have AI do work _inside_ a flow, for example summarising a request or filling in a category, add an **AI Agent** step. See [Choose the right step type](https://support.rework.com/article/choose-the-right-step-type).
