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

# Building custom connectors

> Build a connector for a service that isn't in the catalog, test it, and publish it to your workspace.

Build your own connector for a service that isn't in the [connectors catalog](https://docs.base44.com/Integrations/connectors-catalog), like your CRM or an internal API. Describe the service to the AI or fill in a form, test the connector, and publish it so everyone in your workspace can use it in their apps, just like the [connectors](https://docs.base44.com/Integrations/Connectors.md) Base44 offers.

![A custom connector draft at Step 5 of 5, Publish, with its Summary tab listing what apps can do with it and what won't work](https://mintcdn.com/base44/sXE9p9ZtDJZy97Hc/images/apps-custom-connectors-ai-draft.png?fit=max\&auto=format\&n=sXE9p9ZtDJZy97Hc\&q=85\&s=961f9d1bc677c5ed22f5dc0760ba8b86)

A custom connector draft built with AI

> [!WARNING]
>
> **What you need to build custom connectors:**
>
> * **Plan:** You need an [Enterprise plan](https://base44.com/pricing) (Business or Enterprise).
> * **Role:** Only workspace owners and admins can build them.
> * **Device:** You can build a connector on a computer, not in the mobile app.
> * **Developer console:** To create an OAuth app or a new API key, you need access to the service's developer console.
> * **Test account:** An account on the service to test with.

***

## Building with AI

Describe the service and what your apps should do with it, and the AI drafts the connector and tests it with you. Your connector is saved as a draft as you go, so you can come back and finish it later.

> [!WARNING]
>
> Paste client secrets and API keys only into the secure fields in the chat, never into a chat message. Base44 stores them encrypted and never shows them in the chat.

**To build a connector with AI:**

1. Click **Connectors** in the left sidebar of your workspace.

2. Click **Manage connectors**.

3. Click **Create custom connector** under **Custom connectors**. The **Create custom connector** form opens.

4. Click **Build with AI instead** at the top right. The settings assistant opens a chat to build your connector.

5. In the **Which service should the custom connector connect to?** card, describe the service and what your apps should do with it, then click **Send**. For example:

   ```text theme={null}
   Build a custom connector for Acme CRM (https://developer.acme.example/docs), so apps can read and create contacts.
   ```

6. When the AI finishes drafting the connector, check the domains and permissions it shows in the chat under **Review access**, then click **Approve**. To change them first, click **Ask for changes**.

7. Add the credentials the AI asks for:
   * **API key:** Paste the key in the secure field in the chat, then click **Save key**. Every app that uses this connector shares this key.
   * **OAuth:** Create an OAuth app in the service's developer console, using the callback URL shown in the chat. Paste its client ID and secret into the secure fields, and click **Save credentials**. Then click **Connect test account** and sign in with your test account.

8. Let the AI run test calls with your test account or key. If a test call can change data in the account, click **Run it** to allow it or **Don't run** to skip it.

   > [!NOTE]
   >
   > If a test call fails, click **Fix with AI** to let the AI find the problem and test it again.

9. Click **Publish**. Publishing adds it to this workspace's connectors and doesn't change your existing apps.

***

## Building with a form

If you already know how the service's API works, you can fill in the connector's details yourself instead of building it with the AI. You can test it before you publish it.

![The Create custom connector form with its Details and Sign-in and API sections](https://mintcdn.com/base44/sXE9p9ZtDJZy97Hc/images/apps-custom-connectors-form-sign-in.png?fit=max\&auto=format\&n=sXE9p9ZtDJZy97Hc\&q=85\&s=12057c4f7a3509b3976ea5a04a7801ac)

Creating a custom connector with the form

**To build a connector with a form:**

1. Click **Connectors** in the left sidebar of your workspace.

2. Click **Manage connectors**.

3. Click **Create custom connector** under **Custom connectors**.

4. Enter a name, description, and category under **Details**. Anyone building apps in your workspace sees these in the connector list.

5. Enter the **API address** under **Sign-in and API**.

6. Choose how the connector signs in. The service's API docs say which method it uses:
   * **Bearer token:** Sends a token on every request.
   * **API key in a header:** Sends an API key in a request header.
   * **API key in the URL:** Adds an API key to the request address.
   * **Basic auth:** Sends a username and password.
   * **Advanced:** Sends several values, each its own way.
   * **OAuth 2.0:** Lets each app user sign in with their own account. **Each app user signs in with their own account** is on by default.

7. Add the details for the sign-in method you chose, such as an API key or an OAuth client ID and secret.

8. (Optional) Under **Notes for the AI**, add anything the AI chat should know when it builds apps that use this connector, such as which endpoints to use.

9. Click **Create connector**. The connector's draft page opens.

10. (Optional) To check the setup works, enter a path under **Test call** and click **Run test**.

11. Click **Publish version 1**. If you skipped the test, click **Publish without testing** instead and confirm. Publishing adds it to this workspace's connectors and doesn't change your existing apps.

> [!TIP]
>
> To have the AI review and test the connector with you before you publish it, click **Edit draft with AI** on the draft page, then follow the steps from **Review access** in [building with AI](#building-with-ai).

***

## Using and managing connectors

After you publish a custom connector, anyone who builds apps in your workspace can [add it to an app](https://docs.base44.com/Integrations/Connectors.md) like any other connector. It shows with a **Custom** label, and other workspaces can't see or use it.

Your custom connectors are listed under **Custom connectors** in **Manage connectors**, each marked as a draft or published. From a connector's page, you can edit it, choose how apps sign in to it, or delete it.

![The Connector Management page with a draft custom connector under Custom connectors](https://mintcdn.com/base44/sXE9p9ZtDJZy97Hc/images/apps-custom-connectors-manage-connectors.png?fit=max\&auto=format\&n=sXE9p9ZtDJZy97Hc\&q=85\&s=fce6e34c95e12b51632a4a790fe46704)

Custom connectors in Manage connectors

**To open a custom connector:**

1. Click **Connectors** in the left sidebar of your workspace.
2. Click **Manage connectors**.
3. Click **View** next to the connector under **Custom connectors**.
4. Do one of the following:

> [accordion] Edit a connector
>
> Each change you save creates a new version. Apps keep using the published version until you publish the new one.
>
> **To edit a connector:**
>
> 1. (Optional) To start from an earlier version, click **Restore** next to it under **Versions**.
>
> 2. Click **Edit with AI** on the connector's page (**Edit draft with AI** for a draft) and tell the AI what to change. To change it in the form instead, click **Edit**.
>
> 3. Click **Publish version** when you're ready to update it for the apps that use it.
>
> > [!NOTE]
> >
> > If the new version asks for different permissions, people who use the connector in your apps need to sign in again.

> [accordion] Choose how apps sign in to the service
>
> Choose whether apps reach the service through one shared account, each app user's own account, or both. Which ways you can use depends on how the connector signs in:
>
> * **Key, token, or password:** One shared account only.
> * **OAuth 2.0:** Both ways, and both start on. If you turned off **Each app user signs in with their own account** in the form, it starts with one shared account only.
>
> A connector's page shows which ways are on under **Who can use it**.
>
> **To choose how apps sign in:**
>
> 1. Click **Manage access** on the connector's page. The [Manage connectors](https://docs.base44.com/Enterprise/workspace-connectors.md) list opens.
> 2. Find the connector and turn each way on or off:
>    * **Shared Credential:** The person who builds the app connects one account, and everyone using the app sees its data.
>    * **App User Credential:** Each person who uses the app connects their own account.

> [accordion] Delete a connector
>
> > [!CAUTION]
> >
> > Deleting a custom connector can't be undone. Apps that use it can no longer reach the service, and its shared connections are removed.
>
> **To delete a connector:**
>
> 1. Click **Delete** on the connector's page.
> 2. Check how many apps and app users it affects, then click **Delete connector**.

***

## FAQs

> [accordion] What's the difference between a custom connector and a workspace integration?
>
> Both let your apps call a service that isn't in the catalog. A custom connector works like the connectors Base44 offers, and it can let each app user sign in with their own account. Choose it when each person should connect their own account.
>
> A [workspace integration](https://docs.base44.com/documentation/integrations/using-custom-integrations.md) imports an API from its OpenAPI spec and uses one shared set of credentials. Choose it when you have the API's OpenAPI spec and one shared key is enough.

> [accordion] How many custom connectors can a workspace have?
>
> Your workspace can have up to 25 custom connectors. It can also start up to 10 chats a day to build connectors with the AI, with up to 2 running at a time.


## Related topics

- [Managing and using custom integrations](https://docs.base44.com/documentation/integrations/using-custom-integrations.md)
- [Using the settings assistant](https://docs.base44.com/documentation/using-your-workspaces/using-the-settings-assistant.md)
- [Connecting AI assistants to your app](https://docs.base44.com/Integrations/app-mcp.md)
- [Connecting a service with its own sign-in](https://docs.base44.com/Integrations/connecting-oauth-services.md)
- [Connectors catalog](https://docs.base44.com/Integrations/connectors-catalog.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.