Build Voice Agents in ElevenLabs with access to Live Bitbucket Data

Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Use the CData Connect AI Remote MCP Server to enable ElevenLabs agents to securely access live Bitbucket data.

ElevenLabs is a leading AI audio platform that enables developers to build conversational voice agents capable of natural, human-like interactions. The ElevenLabs Conversational AI platform allows you to create voice-powered assistants that can reason through tasks, respond dynamically, and interact with external systems in real time.

By integrating ElevenLabs with CData Connect AI through the MCP (Model Context Protocol), your voice agents gain the ability to query, analyze, and act on live Bitbucket data during conversations. This integration bridges ElevenLabs' conversational AI framework with the governed enterprise connectivity of CData Connect AI, ensuring all data access runs securely against authorized sources without manual data movement.

This article outlines the steps to configure Bitbucket connectivity in Connect AI, generate the required authentication credentials, register the Connect AI MCP Server in ElevenLabs, and verify that your voice agent can successfully interact with live Bitbucket data during conversations.

Step 1: Configure Bitbucket connectivity for ElevenLabs

Connectivity to Bitbucket from ElevenLabs is made possible through CData Connect AI's Remote MCP Server. To interact with Bitbucket data from your voice agents, start by creating and configuring a Bitbucket connection in CData Connect AI.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. Adding a connection in Connect AI
  3. Select Bitbucket from the Add Connection panel
  4. Selecting data source
  5. Enter the necessary authentication properties to connect to Bitbucket.

    For most queries, you must set the Workspace. The only exception to this is the Workspaces table, which does not require this property to be set, as querying it provides a list of workspace slugs that can be used to set Workspace. To query this table, you must set Schema to 'Information' and execute the query SELECT * FROM Workspaces>.

    Setting Schema to 'Information' displays general information. To connect to Bitbucket, set these parameters:

    • Schema: To show general information about a workspace, such as its users, repositories, and projects, set this to Information. Otherwise, set this to the schema of the repository or project you are querying. To get a full set of available schemas, query the sys_schemas table.
    • Workspace: Required if you are not querying the Workspaces table. This property is not required for querying the Workspaces table, as that query only returns a list of workspace slugs that can be used to set Workspace.

    Authenticating to Bitbucket

    Bitbucket supports OAuth authentication only. To enable this authentication from all OAuth flows, you must create a custom OAuth application, and set AuthScheme to OAuth.

    Be sure to review the Help documentation for the required connection properties for you specific authentication needs (desktop applications, web applications, and headless machines).

    Creating a custom OAuth application

    From your Bitbucket account:

    1. Go to Settings (the gear icon) and select Workspace Settings.
    2. In the Apps and Features section, select OAuth Consumers.
    3. Click Add Consumer.
    4. Enter a name and description for your custom application.
    5. Set the callback URL:
      • For desktop applications and headless machines, use http://localhost:33333 or another port number of your choice. The URI you set here becomes the CallbackURL property.
      • For web applications, set the callback URL to a trusted redirect URL. This URL is the web location the user returns to with the token that verifies that your application has been granted access.
    6. If you plan to use client credentials to authenticate, you must select This is a private consumer. In the driver, you must set AuthScheme to client.
    7. Select which permissions to give your OAuth application. These determine what data you can read and write with it.
    8. To save the new custom application, click Save.
    9. After the application has been saved, you can select it to view its settings. The application's Key and Secret are displayed. Record these for future use. You will use the Key to set the OAuthClientId and the Secret to set the OAuthClientSecret.
    Configuring a connection (Salesforce is shown)
  6. Click Save & Test
  7. Navigate to the Permissions tab and update user-based permissions
  8. Updating permissions

Add a Personal Access Token

A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from ElevenLabs. It is best practice to create a separate PAT for each integration to maintain granular access control.

  1. Click the gear icon () at the top right of the Connect AI app to open Settings
  2. On the Settings page, go to the Access Tokens section and click Create PAT
  3. Give the PAT a descriptive name (e.g., "ElevenLabs Voice Agent") and click Create
  4. Creating a new PAT
  5. Copy the token when displayed and store it securely. It will not be shown again

With the Bitbucket connection configured and a PAT generated, ElevenLabs can now connect to Bitbucket data through Connect AI.

Step 2: Add the Connect AI MCP Server in ElevenLabs

ElevenLabs supports connecting to external MCP servers that use SSE (Server-Sent Events) or HTTP streamable transport. The CData Connect AI Remote MCP Server is compatible with this integration.

  1. Log into the ElevenLabs platform and navigate to your agent dashboard ElevenLabs agent dashboard
  2. Go to Integrations and click + Add Integration to access the MCP server integrations section
  3. Click on Custom MCP Server to add a new integration Adding a Custom MCP Server
  4. Enter the following configuration:
    • Name: CData Connect AI
    • Description: Access live enterprise data from hundreds of sources
    • Server URL: https://mcp.cloud.cdata.com/sse
    • Secret Token: Leave empty (authentication is handled via headers)
    • HTTP Headers: Add a header with key Authorization and value Basic your_email:your_PAT
    Configuring the CData Connect AI MCP server
  5. Replace your_email:your_PAT with your Connect AI login email and the Personal Access Token you created earlier. For example: Basic [email protected]:ABC123...XYZ789
  6. Click Save to test the connection and retrieve available tools from Connect AI
  7. The CData Connect AI MCP server is now available to assign to your voice agents

Step 3: Configure your Voice Agent to use Connect AI

With the MCP server registered, you can now add it to your ElevenLabs voice agents to enable real-time data access during conversations.

  1. Create a new agent or edit an existing agent in the ElevenLabs dashboard
  2. In the agent configuration, navigate to the Tools section
  3. Add the CData Connect AI MCP server you configured in Step 2 Adding the MCP server to an agent
  4. Configure the tool approval mode based on your requirements:
    • Always Ask: The agent will request permission before each data query (recommended for sensitive data)
    • Fine-Grained: Set approval requirements per tool/action
    • No Approval: The agent can query data autonomously
  5. Save your agent configuration

Step 4: Interact with live data through your Voice Agent

Your ElevenLabs voice agent can now access and query live Bitbucket data through the CData Connect AI MCP Server during conversations.

  1. Start a conversation with your voice agent Starting a conversation with your voice agent
  2. Ask your agent data-related questions such as:
    • "What connections are available?"
    • "Show me the schemas for Bitbucket"
    • "Query recent records from Bitbucket data"
    • "Summarize our latest Data"
  3. The agent will use the Connect AI MCP tools to retrieve live data and respond conversationally Voice agent responding with data from Connect AI

Your ElevenLabs voice agent is now fully configured to access and query live Bitbucket data through the CData Connect AI Remote MCP Server, enabling real-time, data-driven voice interactions for your users.

Get CData Connect AI

To access hundreds of SaaS, Big Data, and NoSQL sources through secure, AI-ready interfaces, try CData Connect AI today.

Ready to get started?

Learn more about CData Connect AI or sign up for free trial access:

Free Trial