Skip to main content

Overview

To authenticate with Stackby, you need:
  1. Personal Access Token - a token from your Stackby account. A legacy API key also works.
This guide will show you how to create it.

Prerequisites

  • A Stackby account. Sign up if you don’t have one: a free plan is available.

Step 1: Create a personal access token

  1. Log in to Stackby, click your profile icon in the top-right corner and choose Builder hub.
  2. Under Developers, open Personal access tokens and click Create token.
Stackby Builder Hub Personal access tokens page with the Create token button highlighted
  1. Enter a name for the token.
  2. Click Add a scope and add the scopes your app needs, for example data:read and schema:read.
  3. Under Access, click Add all resources, or Add a stack to limit the token to specific stacks.
  4. Click Create token.
Create personal access token form with a name, the data:read and schema:read scopes, access to all resources and the Create token button highlighted
  1. Copy the token (it starts with pat_). It is shown only once.
Your token has been created dialog with the copy button highlighted
A legacy API key also works, though Stackby recommends personal access tokens. To use one, click your profile icon, choose Account, click Create API key in the API Key section and copy the key.Stackby Account overview page with the API Key section and its copy button highlighted

Step 2: Enter your personal access token in the Connect UI

  1. Open the form where you need to authenticate with Stackby.
  2. Paste the token you copied in Step 1 into the Personal Access Token field.
  3. Submit the form.
Stackby Connect UI form with the Personal Access Token field You are now connected to Stackby.