Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Mar 27, 2026

Authentication

TWG CLI uses a single Atlassian identity (email + API token) for most products. Some products require additional or separate tokens.

Interactive Login

1
2
twg login

You will be prompted for:

Credentials are saved to ~/.twg/auth.conf.

Product-Specific Authentication

Some products require separate tokens due to different API scoping:

ProductAuth MethodSetup
BitbucketSeparate app passwordtwg login --product bitbucket
Rovo SearchMCP-scoped tokenConfigured during twg login or via env vars
TrelloTrello API key + tokentwg login --product trello

You'll be prompted automatically on first use of any product that requires separate auth.

Environment Variables

For CI/CD and scripted use, set environment variables instead of running twg login:

VariablePurpose
TWG_USERAtlassian account email
TWG_TOKENAtlassian API token
TWG_SITEDefault site prefix
TWG_BBC_TOKENBitbucket Cloud app password
TWG_MCP_TOKENRovo MCP-scoped token

Rate this page: