Skip to content

Create an Application API Key

API Keys are the main way to authenticate with the FastFuels API. They are used to identify the user or application making the request and to ensure that the user or application has the necessary permissions to access the requested resources. In this tutorial, you will learn how to create an API key for your application in the FastFuels web application.

Tutorial

  1. Sign In to Your Account:

  2. Create An Application:

    • An application must be created before making an API key for it. Create an application by following the steps in the Create an Application tutorial.
  3. Access the API Keys Section:

    • Once logged in, click on the API Keys icon from the left sidebar.
    Arrow pointing to the API Keys icon.
  4. Generate a New Application API Key:

    • Click on the Generate new API key button at the top right corner of the screen.
    Two arrows pointing to the generate new api key button
    • Fill in the required details, such as the name, validity period, scopes and access controls.
    A filled out new application api key form
    • Click on the submit button to generate the key.
  5. Save Your Key:

    • An alert window will appear with your newly generated API key.

      Api key alert
    • Click on the key to copy it to your clipboard. If the key was successfully copied to your clipboard a green checkmark will appear at the end of the API key row and a success notification will appear on the bottom right of the screen.

      Successful api copy
    • If the copy was unsuccessful, an error notification will appear on the bottom right on the screen. Click on it to try again or manually copy and paste the API key.

  6. Secure Your Key:

    • Store your API key securely and avoid sharing it publicly. Treat it like a password.