Register an API Key

Step 1: Sign In

Go to the Sign In link to access the login page.

Step 2: Create an Account

On the login page, click Create an Account.

screenshot

Step 3: Enter Your Credentials

Provide your email and password in the respective fields and submit the form.

screenshot

Step 4: Verify Your Email

Check your email inbox for a verification code. If you don’t see it, check your spam folder.

screenshot

Step 5: Enter the Verification Code

Return to the website and enter the received verification code to complete your registration.

screenshot

Step 6: Read and Accept the Terms of Service

After verifying your email, you will be redirected to the terms of service. There is an accept button at the bottom of the page.

Step 7: Provision an API Key

After verifying your email, you will be redirected to the management page. Locate the Manage API Keys section and click Provision a New Key. A new key will be generated.

screenshot

Step 8: Configure API Key

You must provide a name for your API, a scope (standard or master) and a duration. Keys can be rotated or revoked at any point in time.

screenshot

Step 9: Copy the API Key

Copy the generated API key to your clipboard.

screenshot

Step 10: Store the API Key

To store your API key in your system’s environment variables, open a terminal and run the following command:

Linux:

echo 'export STURDY_STATS_API_KEY="XXX"' >> ~/.bashrc
source ~/.bashrc

Mac:

echo 'export STURDY_STATS_API_KEY="XXX"' >> ~/.zshrc
source ~/.zshrc

Replace XXX with your actual API key. The Sturdy Statistics SDK automatically checks the now automatically detect your api key.

Step 11: Start Building

You are all set build. Check out our Quickstart to quickly get off the ground. Explore our Example Gallery for inspiration.