Getting Started

Before you can use Routes Preferred API methods in your code, you must enable them.

To enable Routes Preferred API methods with your project:

  1. Log in to Cloud console and select the project selection tab:

    Select project selection tab

  2. In the Select from window, select New Project.

    Select New Project

  3. Specify a name and location for the project, and then select Create.

    Create project

  4. Contact your Google representative.

  5. If you don't already have the Routes Preferred API enabled for your project, navigate to the APIs & Services Library in Google Cloud console. You can skip this step if Routes Preferred is already enabled.

    Navigate to library

    Then search for Routes Preferred to open the Routes Preferred API.

    Open API

    To enable the API, select Enable.

  6. If you don't already have an API key associated with your project, navigate to the Credentials tab. You can skip this step if you already have an API key.

    Go to Credentials tab

    Select Create Credentials, and then API Key.

    Select API key