Integrations quickstart
Connect your first tool to AgentRuntime in about ten minutes — save credentials, add a connector to your workspace, and call it from a workflow.
En esta página
This guide is for anyone who wants a workflow to use an outside service such as Gmail, Postgres, or Shopify. By the end you will have one working connector that a workflow step can call.
How integrations fit together
Three things work together:
- Connection — your saved credentials (an OAuth sign-in or an API key). Secrets are stored in the Vault and are not shown again after you save them.
- MCP instance — your workspace's copy of a connector from the catalog. A connector is a set of tools, such as "send email" or "run query". The instance remembers which connection it should use.
- Workflow step — an MCP step in a workflow that calls one tool on the instance.
Before you begin
- The project_contributor role (or higher) in your project. Without it, the buttons on the Connections and MCP pages are disabled and show "You need MCP write permission".
- A workspace selected in the Console header.
- The credentials for the tool you want to connect: a Google account, an API key, or a WhatsApp Business account.
Steps
- Save your credentials as a connection
- Open Connections in the Console.
- Click Add from template and pick your service. Services that sign in with OAuth (Google, WhatsApp) are listed under Accounts. API-key services are listed under API keys & credentials. If your service is not listed, click New custom connection instead.
- Follow the prompts and click Save.
You should see the new connection under Saved connections. See Connections for each flow.
- Add the connector to your workspace
- Open MCP in the sidebar. The page is titled MCP connectors.
- Click Add connectors. The App catalog opens.
- Select a connector (for example
gmailorpostgres) and click Add to workspace.
A new instance appears on the MCP connectors page.
- Tell the instance which connection to use
- Open the instance. You land on Instance config.
- Under Profiles for this connector, click New profile (or open an existing one).
- Choose your connection in the credentials section, set Status to Active, and click Save.
- Click Use this profile for workflows.
The profile now shows an active badge. Workflows use the active profile.
- Check that it works (recommended)
Open the connector's server page and its MCP validation page, then click Run checks. Or run a small workflow that calls a single read-only tool.
- Call the tool from a workflow
- In Workflow Studio, add an MCP step. (In workflow JSON the step type is
mcp.) - Choose your instance and a tool.
- Fill in the tool arguments. You can use values from earlier steps with template variables.
See Workflow Studio for the editor.
- In Workflow Studio, add an MCP step. (In workflow JSON the step type is
- Run it
Click Dry-run to check the workflow, publish it, and start a run. Open the run's event log to see what the tool returned.
Common problems
| Problem | What to do |
|---|---|
| New custom connection or Add connectors is greyed out | You need MCP write permission (the project_contributor role or higher), and a workspace must be selected. |
| The tool is not offered in Workflow Studio | Make sure the instance has an active profile with a connection, then reload the workflow. |
| A run fails with an authorization error | Open the connection and click Test, or re-enter the key with Rotate. For Google, click Reconnect. |
Next steps
- Connections — Google, WhatsApp, and API-key flows
- MCP instances — profiles in detail
- Connector catalog — connectors with their own pages
- Authentication methods — OAuth, API keys, and connection strings