Set up Bugster CLI in your project and authenticate with your account
bugster init
command initializes Bugster CLI in your project, handles authentication, and configures your project settings.
init
command is the first step you must complete before using any other Bugster CLI features. It sets up authentication and creates your project configuration.init
command supports several flags for automation and customization:
--api-key TEXT
: Bugster API key (starts with ‘bugster_’)--no-auth
: Skip authentication if API key is already configured--project-name TEXT
: Name for your project--url TEXT
: Base URL of your application (e.g., http://localhost:3000)--user TEXT
: Username/email for login credentials--password TEXT
: Password for login credentials--credential-name TEXT
: Name for the credential entry (default: admin)--no-credentials
: Skip credential setup entirely--bypass-protection TEXT
: Protection bypass secret for the specified platform--platform TEXT
: Platform type (vercel or railway, default: vercel)Navigate to your project
Run the init command
API Key Authentication (First Time Only)
--api-key
flag is provided, you’ll be prompted:--api-key
flag to provide the key directly or --no-auth
to skip if already configuredConfigure Project Settings
--no-credentials
is used)bugster init
, the following structure is created in your project:
config.yaml
file contains your project settings:
Project Name
--project-name
Recommendation: Use your GitHub repository name for consistencyExample: my-nextjs-app
Base URL
--url
Common values:http://localhost:3000
(Next.js default)http://localhost:3001
(custom port)https://staging.myapp.com
(staging environment)Authentication Credentials
--user
, --password
, --credential-name
When needed: If your app has login/authentication gatesSkip option: Use --no-credentials
to skip entirelyMultiple credentials: You can add multiple test users for different scenariosSecurity: Credentials are stored locally and used only for testingPlatform Protection
--platform
, --bypass-protection
Supported platforms: vercel
(default), railway
When needed: For applications deployed with password protectionSecurity: Protection bypass secrets are stored securely in configconfig.yaml
file:
Invalid API Key
--api-key
flag to provide key directlyMissing Credentials Error
--user
and --password
together, or omit both for interactive modeNo Auth with No Key
--api-key
flag or remove --no-auth
to authenticate interactivelyInvalid Platform
vercel
or railway
Existing Project Warning
Nested Project Error
Permission Denied