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

# Connect Windsurf with Devin Service User Key – StackOne Hub

> Link a Windsurf account in the StackOne Hub using Devin Service User Key. End-user guide to authorize the integration and start using Windsurf actions.

> [!WARNING]
>
> This key reaches only the model allowlist and the agent analytics actions. It reads no team members; connect a Windsurf service key for the roster and user groups. The service user's role needs the **Use Devin Desktop** and **Windsurf admin** permissions.

## Create a Devin service user key

Devin service user keys are created in the Devin app and start with `cog_`.

**1. Create a service user**

In the Devin app, go to **Enterprise settings** > **Devin API** and open the **Service users** tab.

<ul>
  <li>Provision a new service user.</li>
  <li>Pick a role with both the **Use Devin Desktop** and **Windsurf admin** permissions. The built-in **Account Admin** role has them.</li>
  <li>To also read the agent analytics, the role needs **Use Local Analytics API**.</li>
  <li>Choose an expiration. The connection stops working when the key expires.</li>
</ul>

**2. Copy the key**

Devin shows the key once, right after provisioning. Copy the **API key** across to **Service User API Key**.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


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