Set up the Data Portability API

Before you can begin sending requests to the Data Portability API, you must create a new project, enable billing, and enable the Data Portability API in the Google Cloud console.

Create your project

  1. Go to the Google API Console.
  2. Click Create project.
  3. Enter a name or accept the generated suggestion.
  4. Confirm or edit any remaining fields.
  5. Click Create.

Enable billing

To enable billing for your project:

  1. Visit the Billing page.
  2. If you don't have an active billing account, create one by clicking Add billing account and following the instructions.

Enable the API

The Data Portability API is publicly available and discoverable in the API Library by searching for "Data Portability API". Enable it in the UI or by using the gcloud CLI. To enable it by using the gcloud CLI, run this command.

gcloud services enable dataportability.googleapis.com

To confirm that the Data Portability API is enabled, view your Enabled APIs and Services.

If you need help setting up the gcloud CLI, see Install the gcloud CLI.