- Prebuilt connectors: Ready-to-use integrations with popular enterprise tools like Slack, Google Workspace, and Salesforce
- Custom connectors: Connectors you create from OpenAPI specifications to integrate with internal tools and third-party services
How MCP gateway works
Writer’s MCP gateway sits between WRITER Agent and connector servers (both prebuilt and custom). This architecture provides centralized security, access control, and observability for enterprise deployments. All connector requests—whether prebuilt or custom—flow through the MCP gateway. Connector requests flow through the following steps:- Client connection: WRITER Agent connects to Writer’s unified MCP server
- Request submission: WRITER Agent sends HTTP requests to the MCP gateway endpoint
- Authentication: The gateway validates user identity and permissions using your Writer organization’s access controls
- Request routing: Authenticated requests are routed to the appropriate partner MCP server
- Response delivery: Results are returned to the agent through the secure channel
Available connectors
Writer provides two types of connectors: prebuilt connectors for popular enterprise tools and custom connectors you create from OpenAPI specifications.Prebuilt connectors
Prebuilt connectors are ready-to-use integrations maintained by Writer. These connectors provide access to popular enterprise tools with pre-configured authentication and tool definitions.| Connector | Auth type | Managed by | Connector docs |
|---|---|---|---|
| Databricks | API key | Organization-managed | View docs |
| FactSet | OAuth 2.0 | Organization-managed | View docs |
| Gmail | OAuth 2.0 | Organization-managed | View docs |
| Gong | API key | Organization-managed | View docs |
| Google Calendar | OAuth 2.0 | Organization-managed | View docs |
| Google Docs | OAuth 2.0 | Organization-managed | View docs |
| Google Sheets | OAuth 2.0 | Organization-managed | View docs |
| HubSpot | OAuth 2.0 | Organization-managed | View docs |
| Microsoft Calendar | OAuth 2.0 | Writer or organization-managed | View docs |
| Microsoft OneDrive | OAuth 2.0 | Writer or organization-managed | View docs |
| Microsoft Outlook | OAuth 2.0 | Writer or organization-managed | View docs |
| Microsoft SharePoint | OAuth 2.0 | Writer or organization-managed | View docs |
| Microsoft Teams | OAuth 2.0 | Writer or organization-managed | View docs |
| PitchBook | API key | Organization-managed | View docs |
| Salesforce Data Cloud | OAuth 2.0 | Organization-managed | View docs |
| Salesforce Platform API | OAuth 2.0 | Organization-managed | View docs |
| Salesforce Revenue Cloud | OAuth 2.0 | Organization-managed | View docs |
| Slack | OAuth 2.0 | Organization-managed | View docs |
| Snowflake | OAuth 2.0 | Organization-managed | View docs |
Custom connectors
Custom connectors let you integrate WRITER Agent with any API that has an OpenAPI specification. Use custom connectors to connect to internal tools, proprietary systems, or third-party services not available as prebuilt connectors. Once created, custom connectors are configured and managed in AI Studio the same way as prebuilt connectors. You control authentication, access permissions, and which tools are enabled for users and teams. For step-by-step instructions on creating custom connectors, see Custom connectors.Set up connectors
Connector setup happens in AI Studio under Connectors & Tools. The setup process differs slightly between connector types:- Prebuilt connectors: Select from the connector library and configure authentication. For step-by-step instructions, see Setting up connectors.
- Custom connectors: After creating a custom connector, configure access permissions, enable tools, and enter authentication credentials. For instructions on creating custom connectors, see Custom connectors.
Set up connector authentication
Both prebuilt and custom connectors support OAuth 2.0 and API key authentication. The type of authentication depends on the third-party service, and the connector configuration flow in AI Studio guides you through the required setup. OAuth 2.0 connectors:- Most prebuilt OAuth connectors support WRITER-managed authentication (no OAuth app setup required)
- Custom connectors and some prebuilt connectors (FactSet, Gmail, Google Calendar, Google Docs, Google Sheets, HubSpot, Salesforce, Slack, Snowflake) require organization-managed OAuth
- See Set up OAuth for details on both options
- Require an API key from the third-party service
- For prebuilt connectors, see the prebuilt connectors table for links to provider documentation
- For custom connectors, see Custom connectors for setup instructions
Set up OAuth
OAuth connectors support two authentication options in AI Studio: WRITER-managed OAuth (prebuilt connectors only):- Writer provides and manages the OAuth application
- No OAuth app setup required
- Users authorize access to their account when they first use the connector
- Faster setup with less configuration
- You create and manage your own OAuth application with the provider
- Provides more control and custom branding
- Requires OAuth app configuration with client ID and client secret
- Required for custom connectors and the following prebuilt connectors: FactSet, Gmail, Google Calendar, Google Docs, Google Sheets, HubSpot, Salesforce, Slack, Snowflake
Custom connectors and some prebuilt connectors (FactSet, Gmail, Google Calendar, Google Docs, Google Sheets, HubSpot, Salesforce, Slack, Snowflake) only support organization-managed OAuth. All other prebuilt OAuth connectors support both options.
OAuth connection levels
When configuring an OAuth connector, you choose whether to use user-level or org-level authentication: User-level OAuth (most common):- Each user connects their own personal account (their Gmail, Slack, etc.)
- OAuth authentication happens when individual users first try to use the connector
- Administrators configure the connector in AI Studio, but don’t authenticate during setup
- Users authenticate through WRITER Agent the first time they interact with the connector
- A single shared OAuth connection for the entire organization
- OAuth authentication happens during connector setup in AI Studio
- Administrators authenticate with the provider when configuring the connector
- Users can immediately use the connector without individual authentication
With user-level OAuth, administrators set up the connector configuration (OAuth app credentials, enabled tools, access permissions), but the actual OAuth authentication happens later when each user first uses the connector. With org-level OAuth, administrators complete the OAuth authentication during the initial connector setup.
Create OAuth applications for organization-managed authentication
If you choose organization-managed OAuth, or if using a connector that requires it, you need to create an OAuth application with the provider:- Follow the provider’s documentation to create an OAuth application. View prebuilt connectors for links to provider documentation.
- Add the following Writer redirect URI to the list of allowed redirect URIs in your OAuth application’s settings:
- Copy the client ID and client secret for use in AI Studio
Required OAuth scopes
Each connector requires specific OAuth scopes to access third-party APIs. The connector configuration interface in AI Studio displays the required scopes when you configure a connector.
- Read and search documents
- Create and modify files
- Access calendar events
- Send messages or notifications
- Manage sharing permissions
Manage access control and permissions
Organization and IT administrators can control which users have access to connectors and configure granular permissions for connector functionality.Configure connector availability
Connectors can be made available to users in two ways:- All users: The connector is immediately available to everyone in the organization
- Select teams: Restrict the connector to specific teams. Users on non-approved teams can request access, which requires admin approval.
Role-based administration
By default, only users with Org Admin and IT Admin roles can configure and manage connectors. These permissions can be adjusted through the roles and permissions settings in AI Studio to delegate connector management to other roles if needed.Tool-level granular control
Within each connector, administrators can selectively enable specific tools rather than activating all available functionality. This provides fine-grained control over what actions AI agents can perform through each connector. For example, you might enable read-only tools for a connector while disabling tools that modify or delete data.Revoke connector access
Administrators and users can revoke connector access at multiple levels: Revoke individual user access:- Users can disconnect their personal OAuth accounts from within WRITER Agent settings
- Disconnecting removes the user’s authentication tokens but preserves the connector configuration
- Users can reconnect by re-authorizing through the OAuth flow
- Administrators can disable a connector entirely from AI Studio’s Connectors & Tools interface
- Disabling a connector immediately revokes access for all users
- Re-enabling requires users to re-authenticate with their accounts
- Administrators can disable individual tools within a connector without removing the entire connector
- Users retain their OAuth connections but cannot access disabled tools
- Tool permissions can be re-enabled without requiring re-authentication
Connect as an end user
After administrators configure connectors in AI Studio, end users interact with them through conversation in WRITER Agent.User-level and org-level OAuth
Connectors can be configured with different OAuth authentication levels, which affects how users connect: User-level OAuth (most common):- Each user connects their own personal account (their Gmail, their Slack workspace, etc.)
- Users authenticate individually with their own credentials
- The connector accesses only that user’s data and permissions
- Example: When you use the Gmail connector, it accesses your Gmail inbox, not a shared organizational inbox
- An administrator sets up a single OAuth connection for the entire organization
- All users share the same authenticated connection
- No individual user authentication required
- Less common; typically used when accessing shared organizational resources rather than personal accounts
Most connectors use user-level OAuth where each person connects their own account. When a connector is configured with user-level OAuth, users must authenticate individually before using it.
How users interact with connectors
To use a connector, ask WRITER Agent for what you need in everyday language, such as “Summarize unread emails” or “Find messages in Slack.” If access is needed, the agent prompts you to connect your account. After you’re connected, you can keep making requests the same way—no special steps or commands required. Example interactions: Using Gmail:First-time connection flow
For connectors configured with user-level OAuth, users must authenticate their personal account the first time they use a connector:- User makes a request: “Search Slack for messages about the budget”
- Authentication prompt: Agent responds: “I need access to your Slack workspace to search messages. Please connect your Slack account.”
- OAuth authorization: User clicks the authentication button and is redirected to Slack’s authorization page
- Permission consent: User reviews the permissions and approves access
- Return to conversation: User is redirected back to WRITER Agent
- Task completion: Agent automatically retries the original request: “I found 15 messages about the budget…”
Known limitations
OAuth token expiration
Some providers automatically expire OAuth tokens after periods of inactivity:- Google services: OAuth credentials become invalid after 6 months of inactivity. If you haven’t used a Google connector (Gmail, Google Calendar, Google Docs, Google Sheets) for 6 months, you’ll need to re-authenticate.
OAuth scopes
OAuth scopes define the permissions a connector receives during authorization. Depending on the connector, the OAuth application requests scopes as either a fixed set or a dynamic set based on the tools you select during configuration.Fixed scopes
With fixed-scope OAuth connectors, the OAuth application requests all scopes required for every available tool when you authorize the connector, regardless of which tools you enable or disable in your configuration.Dynamic scopes
With dynamic-scope OAuth connectors, the OAuth application requests only the scopes needed for the tools you enable. The following connectors support dynamic OAuth scopes:- Google: Gmail, Google Calendar, Google Docs, Google Sheets
- Microsoft: Microsoft Calendar, Microsoft OneDrive, Microsoft Outlook, Microsoft SharePoint, Microsoft Teams
- Gong: Gong
Next steps
- Custom connectors: Create connectors from OpenAPI specifications to integrate with your own APIs.
- Set up connectors: Learn how to configure and enable prebuilt connectors in AI Studio.
- Tool calling guide: Understand how AI agents use tools in conversations.
- WRITER Agent guide: Learn how to use WRITER Agent with connected tools.
- API reference: Explore the Chat Completion API that powers tool calling.