Generate a personal access token
Create a new personal access token for API authentication.
Sign in to Figma
Sign in to your Figma account.
- Click your profile avatar in the top-left corner and select Settings.
- Navigate to the Security tab.
- Scroll to Personal access tokens.
Create new token
Click Generate new token.
- Enter a descriptive Token name (e.g., “StackOne Integration”)
- Select an expiration period (max 90 days)
Select token scopes
Under Scopes, enable the permissions for your use case.
- Enterprise-only scopes (file_variables:read, file_variables:write, library_analytics:read) are only visible on the Enterprise plan
Generate and copy token
Click Generate token. Copy the token immediately and store securely — it is only shown once.
Organization and Enterprise plans can use a plan access token instead
A plan access token is created by an organization admin and is not tied to one user. Paste it in the same Personal Access Token field.
- Go to figma.com/developers/tokens and click Generate REST API token. Multi-factor authentication is required.
- Choose scopes, then choose All resources or an allowlist of teams, folders, and files.
- Expiry can be up to one year.
- Plan access tokens cannot call Figma’s current-user endpoint, so
auth_test,get_current_user,unified_get_me,unified_list_organizations, andunified_get_organizationreturn an error with this token type. They also cannot use scopes excluded from plan tokens, such asfile_comments:write(create_comment,delete_comment,create_comment_reaction,delete_comment_reaction) andfile_variables:write(bulk_create_update_delete_variables). Other actions work.
Find your Team IDs (optional)
Figma’s API has no endpoint that lists teams, so team-level actions (projects, components, component sets, styles) need a Team ID. Enter one or more Team IDs here, separated by commas, and agents can discover them with list_configured_teams. The first one is the default when an action is called without a team. Leave blank if you only use file-level or IAM actions, or if you will pass a Team ID on every call.
Sign in to Figma
Sign in to your Figma account.
- Click on your team name in the left sidebar.
Copy the Team ID from the URL
Look at your browser address bar.
- Format:
https://www.figma.com/files/team/TEAM_ID/team-name - Example: if your URL is
https://www.figma.com/files/team/1234567890/My-Team, your Team ID is1234567890
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- Personal Access Token
- Team IDs (Optional)
- SCIM Tenant ID (Optional)
- SCIM Bearer Token (Optional)
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
If the account linking is successful, you will see the newly linked account in your Accounts page.