1
Sign in & set up your organization
Open app.tokenwright.com and sign in with Google. Your workspace is created automatically on first sign-in.
- Rename your organization under Settings → Organization name.
- Invite teammates under Settings → Members — enter their email and a role (Admin manages budget, access and billing; Developer submits and tracks work). They join automatically when they sign in with Google using that email, or send them the invite link.
2
Connect your repository
So our engineers and the Q&A agent can read your code. Go to Settings → Environment access → Repository.
GitHub (recommended)
- On your phone, open
github.com/settings/personal-access-tokens/new (Profile → Settings → Developer settings → Fine-grained tokens).
- Resource owner: your org · Repository access: only the storefront repo.
- Permissions → Repository → Contents: Read-only (choose Read & write only if Tokenwright should push branches/PRs for you).
- Generate, copy the
github_pat_… token.
Back in Tokenwright fill in: URL = https://github.com/your-org/your-repo, Username = the token owner, Secret = the token, Notes = default branch and anything an engineer should know.
GitLab / Bitbucket / self-hosted
Same idea: create a read-scoped access token (GitLab: Settings → Access tokens, scope read_repository; Bitbucket: Repository access token, scope Repository: Read) and store the clone URL, username and token.
Secrets are encrypted at rest, always shown masked, and every time anyone reveals one it's recorded in your audit log. Your code is never shared and never used to train AI models — see our
privacy & data handling commitments.
3
Connect your instances
Fill in the environments Tokenwright may work against, under Settings → Environment access. Configure only what you're comfortable with — Development is enough to start.
- Development (sandbox): instance URL (e.g.
https://dev01-yourorg.dx.commercecloud.salesforce.com) plus an API client ID/secret or Business Manager integration user.
- Staging: same shape; used to verify work before release.
- Production: optional and least-privilege — read-only credentials are usually enough (monitoring, log access). Note any change-window rules in Notes.
- Account Manager: prefer inviting our operators in
account.demandware.com (they sign in as @tokenwright.com) over storing a shared password; use this slot for the org URL and notes about what you granted.
Rule of thumb for every credential: scope it to the least access that lets the work happen, and note in the Notes field what it can and cannot do. You can rotate or remove any entry at any time.
4
Try the Q&A agent
Open the Q&A tab and ask something real about your codebase — for example “Where is the coupon stacking logic, and what would adding a new tier touch?”
- Answers are grounded in your connected repo and cite real files and line numbers.
- The first answer in a conversation takes longer (your repo is being mounted); follow-ups are faster.
- Q&A is free — it never spends tokens. Admins can pick the answering model under Settings → Q&A agent model.
5
Submit your first request
Tap New request, describe what you want in plain English, then either:
- Save for later — parks the idea as a free draft in your task list, or
- Generate quote · 10 tk — scopes it now. The 10-token fee is credited back when you approve the quote, so scoping is free for work that goes ahead.
Approving a quote reserves its tokens from your monthly allowance (the cap is firm — overruns are on us). When the work is delivered, unused tokens are refunded; cancelling refunds the whole reservation. You can watch progress, the plan, and the PR on the task page.
Open Tokenwright →