> ## 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 Service Key – StackOne Hub

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

> [!WARNING]
>
> The Windsurf API is available on Enterprise plans only. Creating a service key needs the **Admin Role**, or a role with the **Service Key Create** permission.

## Create a service key

A service key reads what the permissions of its role allow, so create a role for it first.

**1. Create a role for the key**

Open your team settings.

<ul>
  <li>**Windsurf**: sign in to your [Windsurf team settings](https://windsurf.com/team/settings).</li>
  <li>**Devin Enterprise**: in the Devin app, go to **Settings** > **Administration**.</li>
  <li>Under **Other Settings**, click **Configure** next to **Role Management**.</li>
  <li>Click **Add Role**.</li>
  <li>**Role name**: any name you will recognize</li>
  <li>Add **Teams Read-Only**, which reads team members, their roles and user groups.</li>
  <li>To create users and user groups or change group members, also add **Teams Update**.</li>
  <li>To delete user groups, also add **Teams Delete**.</li>
  <li>For custom analytics and the agent analytics, also add **Analytics Read**.</li>
  <li>To read credit caps and the credit balance, also add **Billing Read**.</li>
  <li>To change credit caps, also add **Billing Write**.</li>
  <li>Click **Save**.</li>
</ul>

**2. Create the key**

In team settings, go to **Service Keys**.

<ul>
  <li>Click **Add Service Key**.</li>
  <li>**Key name**: any name you will recognize</li>
  <li>Select the role you created.</li>
  <li>If your team scopes service keys to user groups, leave this key unscoped so it reads the whole team.</li>
  <li>Click **Create Service Key**.</li>
</ul>

**3. Copy the key**

Copy the **Service Key** across.

## 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.