Quick Start Feature Experimentation

Use AB Tasty CLI to create and manage your Feature experimentation resources such as projects, campaigns, flags, etc...

Configure the CLI

1 - Retrieve your credentials

🚧

Access to your credentials

This feature and the access to the generation of credentials is related to the Remote Control API, it's still in Early Adoption phase, if you want to try it and have any questions, feel free to ask [email protected]

Create credentials

Create credentials

2 - Use auth login command

Once you retrieve your credentials, use the abtasty-cli feat-exp auth logincmd to create your auth file. You can create an auth file in two ways:

insert credentials

abtasty-cli feat-exp auth login --username USERNAME -i CLIENT_ID -s CLIENT_SECRET -a ACCOUNT_ID

insert a file

The file inserted must have the same schema as the example below to extract the credentials.

username: username
account_id: ai
account_environment_id: aei
client_id: ci
client_secret: cs
abtasty-cli feat-exp auth login -p PATH_FILE

The abtasty-cli feat-exp auth login command creates a file with the username name as fileName and stores it in $HOME/.abtasty/credentials/fe/USERNAME.yaml and writes the value of the flags as key-value pairs then you can use the use command to generate the access token to manage your flagship resources automatically.

📘

List configurations

You can use the commandabtasty-cli feat-exp auth listto check your auth files

Required for account environment-related resources - Use account-environment use command

The use command lets you select the configuration you want to manage

abtasty-cli feat-exp account-environment use -i ACCOUNT_ENVIRONMENT_ID

The command generates a token that expires after 24 hours and automatically refreshes.

👍

CLI usage

After selecting an auth file, you are good to go !