search

API authentication

This guide will help you create a service account and use it to generate an API bearer token, which is used to authenticate with the Skyflow API. By the end of this guide, you’ll be ready to call the Skyflow API from your own services.

Prerequisites

Before you start,

    Log in to your Skyflow account. If you don’t have an account, you can sign up for a free trial account.
      For trial accounts, log in to try.skyflow.com. For production accounts, log in to your dedicated sign in URL.
    Complete the Create a vault guide. Install Python 3.5 or later.

Overview

The process for generating an API bearer token will vary depending on which environment you're in. If you're completing the Getting Started guides, use the try.skyflow.com method below.

Get authenticated

In try.skyflow.com only, you can generate an API bearer token by clicking your name icon in the top right and selecting Generate API Bearer Token > Generate Token.

Click the Copy icon to copy the token. It is valid for 24 hours.

generate_a_bearer_token

infoYou will be authorized to make API calls only as allowed by your assigned role for the service account.

Next steps

You can now use this bearer token to call Skyflow APIs.

Next, you'll get ready to send your first API call by setting up a Postman collection or by using manual cURL requests to make your first API call to Skyflow.

In this article