> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapier.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started

> Embed Zapier MCP into your application to enable your users to connect to thousands of apps and execute actions directly from your agent interface.

## Why embed Zapier MCP?

Embedding Zapier MCP lets your users stay within your agent interface while connecting to thousands of apps, granting access to Zapier's entire ecosystem of 8,000+ applications and services. It's secure—domain restrictions and authentication secrets keep your embeds safe—and easy to set up, with simple configuration and generated code snippets for quick integration.

## Prerequisites

* A Zapier account ([sign up free](https://zapier.com/sign-up))
* Must be an Admin of the Zapier account if on a team or organization account
* Have or be building an MCP-compatible AI client

## To get started with embedding Zapier MCP:

<Steps>
  <Step title="Embed configuration">
    [Configure your embed settings](https://mcp.zapier.com/manage/embed/config). You can set your Company Name for how it'll show up in user's Zapier MCP server list. Then for security purposes, you can set Allowed Domains.

    Domain examples:

    * `www.company.com`
    * `company.com` (note: `www.company.com` won't be allowed by simply adding `company.com`)
    * `staging.company.com`
    * `*.company.com`

    Any path after `.com` will be ignored. `localhost` is not allowed, we highly recommend using [ngrok](https://ngrok.com/) or something similar for local development.
  </Step>

  <Step title="Secret Management">
    With Secret Management, you can generate and manage secrets to secure your embed endpoint.

    <Warning>
      Treat your embed secret like a password. Keep it secure and never share it publicly. If you suspect it has been compromised, rotate it immediately. When connecting to a Zapier MCP server created through your embed, you will need to provide this secret as a Bearer token inside of an Authorization header: `Authorization: Bearer (your secret)`
    </Warning>

    You can always rotate the secret at any point here: [https://mcp.zapier.com/manage/embed/secrets](https://mcp.zapier.com/manage/embed/secrets)
  </Step>

  <Step title="Get embed code">
    Generate embed code snippets for integrating Zapier MCP into your application.

    Check out the [available guide](/powered-by-zapier/embedding-zapier-mcp/guides/getting-embed-code) within the "Embedding Zapier MCP" docs section for different guides for different languages and frameworks.
  </Step>

  <Step title="Connect your agent to Zapier MCP">
    Learn how to connect to your users' MCP servers.

    See the guides for [TypeScript](/powered-by-zapier/embedding-zapier-mcp/guides/connecting-typescript) and [Python](/powered-by-zapier/embedding-zapier-mcp/guides/connecting-python) to get started.
  </Step>
</Steps>

## Integration Flow

<Steps>
  <Step title="User interacts with embed">
    When a user interacts with the Zapier MCP embed, it dispatches an `mcp-server-url` event with their unique server URL.
  </Step>

  <Step title="Store the URL for the user">
    Capture this URL and store it in your database associated with the user.
  </Step>

  <Step title="Connect to Zapier MCP">
    Use the stored URL along with your secret to connect to the user's MCP server
    and execute tools on their behalf.
  </Step>

  <Step title="Execute tools with MCP">
    List available tools and call them to automate workflows for your users across thousands of applications.
  </Step>
</Steps>
