x-username.
Prerequisites
- API key for your project — Authentication
- An auth config for the toolkit — Auth configs
Steps
1
Pick stable usernames
Choose one username per end user in your product (for example
customer_alice, customer_bob). Use the same string every time for that person — in x-username, when you create them in the dashboard, and when you link accounts.2
Link for alice
customer_alice did not exist yet, Flowra creates that external user.3
Link for bob
4
Run in the right context
Verify
- List connected accounts once with
x-username: customer_aliceand once withcustomer_bob— each list should show that user’s Slack link, not the other’s. - Or in the dashboard: switch End user to each username under Connection and confirm separate rows.
- Execute a Slack-backed tool or workflow for Alice; confirm Bob’s workspace is never used.
Next
- Full model and scoping matrix: Multi-tenancy
- Dashboard switcher: External users switcher
- Connect an account