---
title: Connections
summary: Connect your email, calendar, work tools and AI providers so agents and workflows can use them.
group: Connecting
order: 1
---

Connections let your agents and workflows work in services such as Gmail, Linear, a Telegram bot,
or the AI provider your agents run on. For example, connect your Google account once, and your
Assistant can check tomorrow's meetings while a workflow logs each invoice email. You add a
connection when an agent asks for one in a session, with **Quick connect** in a workflow step, or
from **Settings → Connections**.

## How connections fit in your workspace

Anyone in the workspace can add a connection, and any agent or workflow in it, and the Discord
Gateway plugin, can be given one.

- With Gmail added, you can give an agent tools to search, read, draft and send email while you
  talk or on a routine. With Linear added, you can give it tools to file and update issues.
- A new email, a calendar change, a GitHub event or a chat message can start a workflow.
- Linear issues appear on the Tasks page to import, calendars you subscribe to by iCal link appear
  on your Calendar, and you can talk to your agents through a Discord bot.
- AI providers run your agents' model and the AI steps in workflows; some also provide memory and
  dictation.

An agent with the service's tools handles work that needs judgement, such as "what in my inbox
still needs a reply?". A workflow trigger handles what happens the same way every time, such as
"log every invoice email". A workflow can also catch the email and hand it to an agent.

For Claude, Cursor or Claude Code working in your Verdalia workspace, see [MCP](/docs/mcp). To let
agents work on your own computer, see [Relay](/docs/relay).

## Ways to connect a service

- When an agent asks: tell an agent what you need ("What's on my calendar tomorrow?"). If it has
  no tools for that service, it asks for them on a card in the session, and you connect the account
  on the card.
- During onboarding: the welcome's last step is **Connect an AI provider to get started**. Then the
  Assistant asks what you work with and offers the matching services one at a time, such as Gmail,
  Google Calendar, Linear, GitHub, Notion or Todoist.
- In a workflow or tool settings: every connection field in a workflow step, an agent's tool group
  or a plugin's settings has a **Quick connect** button to sign in or paste a key. Importing a
  workflow template asks for the connections it needs the same way.
- In Settings: **Settings → Connections → Add Connection** opens a grid of every service you can
  connect.
- From other features: **Settings → Models** connects an embedding provider for your documents;
  the first time an agent needs memory, a card asks for an OpenAI or Gemini key; pairing a computer
  with the [Relay](/docs/relay) saves its connection for you.

### When an agent asks for a service

The card reads "Agent wants to add **Gmail** as a tool", with the agent's reason under it. For an
app such as Linear or Notion, it reads "Agent wants to connect **Linear**". Answer the card before
you send another message: a new message cancels the request.

- **Add** gives the tools to this agent. **Add for all agents** gives them to every agent in the
  workspace.
- **Not now** stops the agent until you write to it.

During onboarding, once you connect a service, the Assistant tells you what it can do with it, such
as "I can see your calendar and plan around your meetings".

### Connect from Settings

To connect a service yourself, go to **Settings → Connections** and select **Add Connection**. The
grid starts with **Recommended** (OpenAI, Anthropic, Google AI, Moonshot and DeepSeek), then groups
the rest by kind: **AI**, **Infrastructure**, **Messaging**, **Development**, **Data**, **Social**,
**Integration**, **Productivity** and **Media**. Each tile shows how you sign in:

- **OAuth**: **Connect with Google** (or GitHub, Linear, Notion…) opens the service's sign-in in a
  popup, or as a full page on a phone.
- **Token**: paste an API key, as for most AI providers, a Telegram bot or a Discord bot.
- **Device Code**: OpenAI Codex signs in with your ChatGPT subscription. Select **Start device
  authorization** and enter the code it shows at OpenAI.
- **API Key Pair** and **Credentials**: a key ID and secret (Alpaca, Supabase), or a username and
  password with a client ID (Reddit).
- **Webhook** or a URL: a Discord webhook, or a calendar's iCal link.
- **Relay Key**: pairing your computer, described on the [Relay](/docs/relay) page.
- **No sign-in**: an app whose server needs none.

The name at the top of the form is optional: Verdalia names the connection after the service, and
the account when you sign in with one, for example "Google (ana@example.com)". Select **Test** to
check a key before you save it.

### Connect a Claude subscription

The experimental **Claude (subscription)** connection uses your Claude Pro or Max quota to run
agents and AI workflow steps. Select it from **Add Connection**, sign in to Claude in your
browser, then paste the redirect URL or code into the connection form.

Choose the connection and model in **Settings → Agents** or in an AI workflow step. Verdalia
refreshes the sign-in automatically, but you may need to sign in again after about 30 days.
To reconnect, open the connection with **Rename** and sign in with the same Claude account
and organization.

## What you can connect

- AI providers: OpenAI, Anthropic, Claude (subscription), Google AI, Moonshot, DeepSeek, OpenAI
  Codex, OpenRouter, xAI, Mistral, Qwen, Z.ai, MiniMax, OpenCode Zen, OpenCode Go, StepFun, NVIDIA,
  Cohere, Perplexity, Morph, and Ollama on your own server. Your first AI connection becomes your
  agents' default model, except for Claude (subscription).
- Google: one sign-in covers Gmail, Google Calendar, Drive, Docs, Sheets and Slides, so Google's
  sign-in asks for Gmail, full Calendar and full Drive access in one go.
- Work tools: Linear, GitHub (as an App installation or a personal sign-in), Notion, Cursor Cloud
  Agent, Airtable and Supabase.
- Any app by its address: the **App** tile connects Linear, Notion, Todoist, Sentry and Atlassian
  in one click, or any other app by its server address under **Add an app by URL**. Select
  **Check**, and Verdalia tells you whether it needs a sign-in, an API key, or nothing.
- Messaging: Telegram Bot, Discord Bot and Discord Webhook.
- Calendars: Calendar ICS, for any calendar that gives you an iCal link.
- Markets and data: Alpaca, Polygon.io and Reddit.
- Search and the web: Firecrawl and Tavily.
- Voice, images and music: ElevenLabs, InWorld, Groq, Stability AI, Replicate, Fal.ai, Spotify and
  TikTok.
- Any HTTP API: Custom API, with your own header name and prefix, for services Verdalia has no tile
  for.
- Your computer: Verdalia Relay.

## Accounts and names

Every connection has a name you can change. A connection you signed in to also shows its account.

You can connect two accounts of one service. To add a second, select **Add account** on the
existing connection; it becomes a connection of its own. Give your work Gmail to one agent and your
personal Gmail to another.

**Rename** opens the full form, where you can also replace the key or sign in again. Leave the key
field blank to keep the stored key.

## Expired sign-ins

When a service refuses a connection's sign-in, the workflow step or agent tool call that used it
fails with what the service said, and the connection shows **Expired** in **Settings →
Connections**. In an agent's session, the call can also ask you on a **Sign in again to
<connection>** card.

Every use tries the connection's current sign-in. The note goes away the next time the
connection works, or when you sign in again.

To sign in again, open the connection's form with **Rename** and sign in with the same account:
**Connect with Google** (or the service's name), or **Sign in again** for an app. An app
connection with no sign-in checks its server when you open it, and offers a sign-in or a key
field when the server asks for one.

## Give an agent a connection

An agent works in a service through a tool group, such as **Gmail**, **Google Calendar**,
**Linear** or **GitHub Issues**, which you point at one of your connections. Ask for the work and
answer the agent's card, as above, or open the agent's settings and add the group yourself. To give
a group to every agent, add it in **Agents** settings. Each group has a connection field with
**Quick connect**.

Tools that send or destroy something, such as sending an email, can ask you first on an approval
card; see [Agents](/docs/agents) for that setting.

## Use a connection in a workflow

Most workflow steps that talk to a service have a connection field. Pick a connection, or select
**Quick connect** to make one in the editor.

- Triggers start a run from a connected service: a new email, a calendar or Drive change, a GitHub
  event, a Telegram or Discord message, an Alpaca order update. A Gmail Trigger starts with mail
  that arrives after it's turned on.
- Service steps read and write: send an email, create a Linear issue, post to Telegram, append to a
  Google Sheet.
- **App Tools** gives an AI step the tools of any app you connected by its address.
- **HTTP Request** can sign any call with a connection: choose **Connection** under its
  authentication, and the key is added the way that service expects. Pair it with a **Custom API**
  connection to reach an API Verdalia has no tile for.
- **JavaScript Script** steps can call your Google apps, Alpaca and Polygon through `verdalia.api`
  with your connections.
- AI steps pick a model as a connection plus a model, so one workflow can use Anthropic for reading
  and a cheaper model for sorting.

## Agent tools and workflow nodes

### Agent tools

- [List connections](/docs/tools/list_connections): lists your connections with their name,
  service, account, and whether a service last refused their sign-in.
- [Request tool](/docs/tools/request_tool): asks you for a tool group, connecting the account on
  the card if needed.
- [Request connection](/docs/tools/request_connection): asks you to add a connection a workflow
  needs, such as an API key, without giving the agent any tools; the card opens the connection
  form filled in for you to add the secret.
- [List apps](/docs/tools/list_mcp_apps): lists the apps an agent can ask you to connect by name,
  such as Linear, Notion or Todoist.
- [List models](/docs/tools/list_models): lists your AI connections and the models each can reach,
  with context window, price and what each model can do.

List connections, Request tool, Request connection and List apps are in the **Agent** group, and
List models is in **Workspace**; both are default groups every agent starts with. For other AI
apps over MCP, List connections and List models are on by default.

These services come as tool groups you add: Gmail, Google Calendar, Google Drive, Google Docs,
Google Sheets, Google Slides, GitHub Repositories, GitHub Issues, GitHub Issue Comments, GitHub Pull
Requests, GitHub Pull Request Reviews, GitHub Review Comments, Linear, Notion, Firecrawl, Tavily
search, Cursor, Apps and Relay.

### Workflow triggers

- [Gmail Trigger](/docs/nodes/gmail_trigger): starts a workflow when new mail matches a Gmail
  search.
- [Calendar Trigger](/docs/nodes/calendar_trigger): starts a workflow from Google Calendar events.
- [Drive Trigger](/docs/nodes/drive_trigger): starts a workflow from changes in Google Drive.
- [GitHub Event](/docs/nodes/github_event_trigger): starts a workflow from a GitHub App event, such
  as a failed workflow run. Needs a GitHub App installation connection.
- [Telegram Message](/docs/nodes/telegram_message_trigger): starts a workflow when your Telegram
  bot receives a message.
- [Discord Bot](/docs/nodes/discord_bot): starts a workflow from messages to your Discord bot.
- [Alpaca Event Trigger](/docs/nodes/alpaca_event_trigger): starts a workflow when an Alpaca order
  changes state or a price alert crosses.

### Workflow nodes

- [Gmail](/docs/nodes/gmail), [Google Calendar](/docs/nodes/google_calendar),
  [Google Drive](/docs/nodes/google_drive), [Google Docs](/docs/nodes/google_docs),
  [Google Sheets](/docs/nodes/google_sheets), [Google Slides](/docs/nodes/google_slides): read and
  write your Google apps.
- [Linear](/docs/nodes/linear), [Notion](/docs/nodes/notion), [GitHub](/docs/nodes/github): work
  with issues, pages and repositories.
- [Telegram Send](/docs/nodes/telegram_send), [Discord Action](/docs/nodes/discord_action): post
  messages through your bot or webhook.
- [App Tools](/docs/nodes/mcp_tools): gives an AI step the tools of an app you connected by its
  address.
- [HTTP Request](/docs/nodes/http_get): calls any URL, signed with a connection if you choose.
- [JavaScript Script](/docs/nodes/js_script): scripts that can call your Google apps, Alpaca and
  Polygon through your connections.
- [AI Agent](/docs/nodes/ai_agent): an AI step whose model is one of your AI connections.

## Examples

### Turn invoice emails into rows in your Invoices table

A Gmail Trigger on your Google connection searches `in:inbox has:attachment`, and an AI Agent step
pulls the vendor, amount and due date out of each email. A Table step adds the row, and Telegram
Send messages you when the amount is over your budget. Ask your agent "What do I owe this month?"
and it reads the table.

### Morning plan from calendar and email

Ask your Assistant: "Every weekday at 8, look at my calendar and unread email and plan my day." It
asks for Google Calendar and Gmail on cards, and one Google connection covers both. Each weekday at
8 its routine schedules your most important tasks on your Calendar around your meetings, and any
reply it drafts waits for your approval.

### Failed builds as tasks

A GitHub Event trigger on your GitHub App connection fires for failed workflow runs on `main`, and
an AI Agent step summarises what failed. A Task step creates "Fix the failing build on main",
scheduled for today, and a Linear step can file an issue for the team.

### Work and personal email, kept apart

Connect your work Google account, then **Add account** for your personal one. Give a "Work" agent
the Gmail group on the work connection and your Assistant the Gmail group on the personal one. Each
agent sees only its own inbox.

### Talk to your agent from Discord

Add a **Discord Bot** connection with your bot's token, then turn on the **Discord Gateway** plugin
and link the bot to an agent. The agent answers in the channels and direct messages where it's
mentioned, with approval and question buttons in Discord. See [Plugins](/docs/plugins).

## Settings

- **Settings → Connections**: every connection with its name, service and sign-in kind, and
  **Expired** when a service last refused its sign-in. Row actions are **Test**, **Rename**,
  **Add account** and **Delete**. A Discord Bot also has **Slash commands**, and a Relay has
  **Browse**. The **Public Key** card below the list belongs to the [Relay](/docs/relay).
- **Settings → Custom Apps**: register your own Google, GitHub, Linear or TikTok app and sign in
  through it. You keep the client secret. Google apps can be limited to **Allowed domains**. Only
  workspace admins can change Custom Apps.
- **Settings → Models**: which connection and model embed your documents, and which transcribe
  voice recordings.
- **Settings → Calendar** and **Settings → Tasks**: pick the Calendar ICS connections shown on your
  Calendar, and the Linear connections whose issues you can import on the Tasks page.

## Troubleshooting

### An agent says it can't reach a service you connected

A connection on its own gives no agent any tools. Add the service's group to that agent, or answer
its card with **Add**. A group given with **Add** goes to that one agent; use **Add for all agents**
for the whole team.

### "Signed in as …, but this connection belongs to a different account"

You signed in again with another account. Sign in again with the account the connection belongs
to, or select **Add account** to connect the other one separately.

### "The OAuth app for this sign-in is not available"

The service's sign-in needs an app that isn't set up for your workspace. A workspace admin can add
one in **Settings → Custom Apps**.

### A workflow step shows "Unavailable"

The connection it used was deleted. Pick another connection in the field, or select **Quick
connect**.

## Related

- [Agents](/docs/agents): tool groups, approvals, and how agents ask for what they need.
- [Workflows](/docs/workflows): triggers and steps that run on your connections.
- [MCP](/docs/mcp): other AI apps working in your workspace.
- [Relay](/docs/relay): connecting your own computer.
- [Plugins](/docs/plugins): the Discord Gateway plugin, which runs on a Discord Bot connection.
- [Set up GitHub Apps](/guides/github-apps): App installation versus personal sign-in, webhooks and
  permissions.
- [Create your own agent](/guides/creating-your-own-agent): a Telegram bot connection wired to an
  AI step.
- [Give your agent memory](/guides/giving-your-agent-memory): connecting an embedding provider.
