Connecting a Supabase Account
To clone projects, you must first connect your Supabase account to Twins. This gives Twins access to your projects and organizations.
Connection Methods
OAuth (recommended)
OAuth is the simplest and most secure connection method:
- Go to Dashboard > Connect
- Click Connect with Supabase
- You are redirected to Supabase to authorize access
- Accept the requested permissions
- You are redirected back to Twins — your account is now connected
Benefits of OAuth:
- No token to copy/paste
- The token renews automatically
- Revocable at any time from Supabase
Personal Access Token (PAT)
If you prefer using a token:
- Go to your Supabase account settings > Access Tokens
- Create a new token
- Copy the token
- In Twins, go to Dashboard > Connect
- Choose Personal Access Token
- Paste your token and confirm
Warning: A PAT grants full access to your Supabase account. Never share it and store it in a safe place.
Multiple Accounts
You can connect multiple Supabase accounts to Twins. This is useful if you have:
- A personal account and a company account
- Projects spread across multiple organizations
- Access to client accounts
Each connected account is independent and accessible from the project selector when creating a clone.
Naming Your Accounts
To easily tell multiple accounts apart, you can assign a display name to each connected account:
- Go to Dashboard > Connect
- Click the Edit button next to the account
- Enter a name (e.g., "Personal", "Company", "Client X")
- Save
This name appears in the project selector.
Disconnecting an Account
To remove a connected account:
- Go to Dashboard > Connect
- Click Disconnect next to the account
- Confirm
Disconnecting removes the token stored in Twins. Your Supabase projects are not affected.
Note: If you have scheduled clones using this account, they will fail after disconnection. Make sure to disable them first.
Token Renewal
OAuth
OAuth tokens expire automatically. Twins renews them in the background — you don't need to do anything.
If renewal fails (for example, if you revoked access from Supabase), you will see a warning on the dashboard. Simply reconnect the account.
PAT
Personal Access Tokens do not expire unless you delete them from the Supabase settings.
Next Steps
- Creating a Clone — Use your connected accounts to start a clone
- Quickstart — Quick guide for your first clone