Create a custom connector
Prerequisites
Before creating a custom connector, make sure you have:- An OpenAPI definition that describes your API
- Authentication details for your API, based on the authentication method you choose:
- API key: Key name and optional key prefix
- OAuth: Authorization server URL, access token URL, refresh token URL, and token endpoint authentication method
Set up the custom connector
Create a custom connector in AI Studio under Connectors & Tools.- Navigate to Connectors & Tools in AI Studio
- Select Create custom connector
- Upload your OpenAPI specification file (JSON or YAML format)
- Enter a Connector name and About this connector description
- Configure authentication:
- API key: Enter the key name and optional key prefix
- OAuth: Enter your OAuth credentials (authorization server URL, access token URL, refresh token URL, and token endpoint authentication method)
- Select Next to proceed to tool configuration
Configure tools
After uploading your OpenAPI specification, the tool configuration screen lets you review and edit the operations defined in your specification. For each tool, you can:- Edit the tool description: Double-click or select the pencil icon to modify the description. Clear descriptions help WRITER Agent understand when to use each tool.
- Set the operation type: Specify whether the tool performs a read, write, update, or delete operation.
- Update the tool name: Customize the name that appears in WRITER Agent.
Configure the connector
After creating a custom connector, configure it for your organization:- Navigate to Connectors & Tools in AI Studio
- Find your custom connector and select Configure
- Set up access:
- Choose who can access the connector (all users or specific teams)
- Select which tools to enable
- Enter your API key or OAuth credentials, depending on the authentication method configured for the connector
Edit a custom connector
Modify an existing custom connector to update its name, description, or function configurations.- Navigate to Connectors & Tools in AI Studio
- Find your custom connector and select Edit connector
- Update the connector name or description as needed
- Select Next to modify tool configurations:
- Edit tool descriptions
- Update operation types
- Modify tool names
- Select Save to apply your changes
When editing a custom connector, you cannot change the OpenAPI specification or authentication type. To use a different specification, create a new custom connector.
Delete a custom connector
Deleting a custom connector removes it from your organization’s library and disconnects all users.- Navigate to Connectors & Tools in AI Studio
- Find your custom connector and select Edit connector (under the three vertical dots)
- Select Delete connector
- Confirm the deletion
Next steps
- Configure connectors: Learn about connector authentication and access control
- Tool calling guide: Understand how AI agents use tools in conversations
- WRITER Agent guide: Learn how to use WRITER Agent with connected tools