Skip to main content
Version: 0.3.0

Connecting Apps to Your Agent

Now that you have your agent, the next step is to connect apps so it can interact with the tools you use. Apps allow your agent to perform tasks like sending emails, managing spreadsheets, or posting messages in Slack.

For more details on the App Marketplace and app types, see the App Integration Guide.

important

The app settings below are specific to Mailgun, but similar principles apply to other apps. Always follow the app’s documentation or the setup instructions in the App Marketplace when connecting a different app.

Permissions and Controls

  • Human-in-the-Loop: Require approval for sensitive operations
  • App Restrictions: Control which apps the agent can access
  • Tool Limitations: Restrict specific tools or capabilities

1. Navigate to Your Agent

Step 1: Open the Agent Page

From the homepage/dashboard, click Agents on the sidebar to see a list of your agents.

Step 1 - Agent Sidebar

Step 2: Select Your Agent

Click the agent you just created—or any agent you prefer—to open its details page.

Step 2 - Select Agent

2. Add an App

Step 3: Click "Add App"

In the Connected Apps section of your agent page, click "+ Add App".

App Connections

Agents can connect to multiple applications:

  • Marketplace Apps: Pre-built integrations with popular services
  • Custom Apps: Your own MCP-based integrations
Enterprise Feature

Multiple instances of the same apps can be connected with different configurations

Step 3 - Add App

Step 4: Explore the Marketplace

You’ll be redirected to the App Marketplace, where all available apps are displayed. Here, you can browse, search, and select apps your agent can use.

Step 4a - App Marketplace

For this guide, we’ll use Mailgun as an example. Click on Mailgun to proceed with connecting it to your agent.

Step 4b - Mailgun Selected

Step 5: Add the App to Your Agent

On the app page, click "Add to Agent".

Step 5 - Add to Agent

Step 6: Configure App

A dialog will appear with two sections:

  1. Select Agent – Choose the agent that will use this app. For our example, select Email Assistant.

    Step 6a - Select Agent

  2. App Settings – Fill in the required fields. Each field configures how your agent will interact with the app:

FieldDescriptionExample Value
App Instance NameA custom name for this app connection. This helps you identify the app if you add it multiple times with different configurations.My Mailgun Account
API KeyThe key used to authenticate your agent with the app. Ensures secure communication between the agent and the app.key-xxxxxxxxxxxx
DomainYour registered domain for the app (e.g., Mailgun). Specifies which domain the agent will use when sending emails.example.com
Email AddressThe email address the agent will use as the sender for outgoing messages. Helps recipients identify the source of the emails.noreply@example.com

Step 6b - App Settings

important

The app settings above are specific to Mailgun, but similar principles apply to other apps. Always follow the app’s documentation or the setup instructions in the App Marketplace when connecting a different app.

Step 7: Connect the App

Click Add App. 🎉 Congratulations! Your app is now connected to your agent and ready for automation.

Step 7 - App Connected

Next Step: Creating a Task Definition

After connecting your apps, the next step is to define what tasks your agent should perform. Learn how to create a task definition in the Task Definition Guide.