Skip to content

Tools & Integrations

Tools & Integrations is the central hub for connecting third‑party apps and managing internal tools that your agents can use at runtime.

Tools & Integrations Overview

Integrations

Connect enterprise‑grade applications (e.g., Gmail, Google Drive, HubSpot, Slack) via OAuth to enable agent actions.

  1. Connect

    Click Connect on an app and complete OAuth.

  2. Configure

    Optionally adjust scopes, triggers, and action availability.

  3. Use in Agents

    Connected services become available as tools for your agents.

Integrations Grid
  1. Go to Integrations
  2. Click Connect on the desired service
  3. Complete the OAuth flow and grant scopes
  4. Copy your Enterprise Token from Integration Settings

Enterprise Token

To use the integrations locally, you need to install the latest crewai-tools package.

Terminal window
uv add crewai-tools
Terminal window
export CREWAI_PLATFORM_INTEGRATION_TOKEN="your_enterprise_token"

Or add it to your .env file:

CREWAI_PLATFORM_INTEGRATION_TOKEN=your_enterprise_token
from crewai import Agent, Task, Crew
# Create an agent with Gmail capabilities
email_agent = Agent(
role="Email Manager",
goal="Manage and organize email communications",
backstory="An AI assistant specialized in email management and communication.",
apps=['gmail', 'gmail/send_email'] # Using canonical name 'gmail'
)
# Task to send an email
email_task = Task(
description="Draft and send a follow-up email to john@example.com about the project update",
agent=email_agent,
expected_output="Confirmation that email was sent successfully"
)
# Run the task
crew = Crew(
agents=[email_agent],
tasks=[email_task]
)
# Run the crew
crew.kickoff()
from crewai import Agent, Task, Crew
# Create agent with specific Gmail actions only
gmail_agent = Agent(
role="Gmail Manager",
goal="Manage gmail communications and notifications",
backstory="An AI assistant that helps coordinate gmail communications.",
apps=['gmail/fetch_emails'] # Using canonical name with specific action
)
notification_task = Task(
description="Find the email from john@example.com",
agent=gmail_agent,
expected_output="Email found from john@example.com"
)
crew = Crew(
agents=[gmail_agent],
tasks=[notification_task]
)

On a deployed crew, you can specify which actions are available for each integration from the service settings page.

Filter Actions

You can scope each integration to a specific user. For example, a crew that connects to Google can use a specific user’s Gmail account.

Use the user_bearer_token to scope authentication to the requesting user. If the user isn’t logged in, the crew won’t use connected integrations. Otherwise it falls back to the default bearer token configured for the deployment.

User Bearer Token
  • Gmail — Manage emails and drafts
  • Slack — Workspace notifications and alerts
  • Microsoft — Office 365 and Teams integration
  • Jira — Issue tracking and project management
  • ClickUp — Task and productivity management
  • Asana — Team task and project coordination
  • Notion — Page and database management
  • Linear — Software project and bug tracking
  • GitHub — Repository and issue management
  • Salesforce — CRM account and opportunity management
  • HubSpot — Sales pipeline and contact management
  • Zendesk — Customer support ticket management
  • Stripe — Payment processing and customer management
  • Shopify — E‑commerce store and product management
  • Google Sheets — Spreadsheet data synchronization
  • Google Calendar — Event and schedule management
  • Box — File storage and document management

…and more to come!

Internal Tools

Create custom tools locally, publish them on CrewAI AMP Tool Repository and use them in your agents.

Internal Tool Detail

  1. Create

    Create a new tool locally. bash crewai tool create your-tool

  2. Publish

    Publish the tool to the CrewAI AMP Tool Repository. bash crewai tool publish

  3. Install

    Install the tool from the CrewAI AMP Tool Repository. bash crewai tool install your-tool

Manage:

  • Name and description
  • Visibility (Private / Public)
  • Required environment variables
  • Version history and downloads
  • Team and role access
Internal Tool Detail