Skip to main content
Personal access tokens carry the permissions you grant them across the selected organizations and projects. Keep them secure and never share them.

Generate a personal access token

Personal access tokens (PATs) authenticate requests to the Supabase Management API. Each token is scoped to the organizations or projects and permissions you choose when you create it.

1

Generate the token

Sign in to your Supabase account.

  • Click your profile icon in the top right.
  • From the dropdown, click Account.
  • In the Account Settings sidebar, click Access Tokens.
  • Click Generate new token.
  • Name: StackOne Integration
  • Expires in: select a duration
  • Generate a new token and update the connection before this one expires.
The Generate token panel with the Name field and the Expires in options highlighted
2

Choose resource access

Under Resource access, select Organization, not Project, so StackOne can list the organization and its members.

  • From the Organizations dropdown, select the organization you want to connect.
The Resource access section with the Organization option and a selected organization highlighted
3

Set permissions

Choose what the token is allowed to do.

  • Under Permissions, open the preset dropdown.
  • Select Full access so StackOne can run read and write actions, or Read-only for read actions only.
  • If you customize permissions, keep Read access on Organizations, Organization Members, Organization Settings, Projects (account-wide) and SQL Snippets (account-wide).
  • Click Review access.
The Permissions preset dropdown with the Full access option highlighted
4

Review and create the token

Check the Token summary and Capabilities.

  • Access can’t be changed after creation, so confirm the organization and permissions first.
  • Click Create token.
The review step of the Generate token panel with the Create token button highlighted
5

Copy the token

Copy the Personal Access Token across.

  • Click Copy to copy the new token.
  • The token starts with sbp_ and is shown only once.
  • The Native Webhook URL field in StackOne Hub is read-only and filled in after the connection is created. You only need it when setting up Supabase webhooks.
The Token created panel with the token value hidden and the Copy button highlighted
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Supabase into StackOne.