Skip to content

Logging In

To run almost any command, you'll need to login first. This is done with your AIcrowd API Key, which can be found at your profile page.

Interactive login

You can login in various ways, the easiest being just running

aicrowd login
You'll get a unique secret link which will redirect you to login to AIcrowd.

Passing API Key as an argument

For places where you don't have access to a browser, for example on google colab, you can simply pass in the API Key as an argument

aicrowd login --api-key API_KEY

API Key valid
Saved API Key successfully!
Note

You should always use the Interactive login method, i.e. simply running aicrowd login since it logs you in through AIcrowd Gitlab as well, which is useful for getting baselines and creating submissions.

Using the environment variable

From v0.1.3, we started supporting passing the API Key as an environment variable. You need to set the AICROWD_API_KEY environment variable to your API Key and simply run

# the `AICROWD_API_KEY` environment variable is already set
aicrowd login

API Key valid
Saved API Key successfully!
Note

You should always use the Interactive login method, i.e. simply running aicrowd login since it logs you in through AIcrowd Gitlab as well, which is useful for getting baselines and creating submissions.