View Categories

How to Set Up the Google Translate API Key (JSON)

This article will guide you through integrating Google Translate with AI Content Labs, including how to use your Google Translate API key for authentication.

Step 1: Access Your Google Cloud Platform Account

Log in to your Google Cloud Platform account. If you don’t have one, create it at https://cloud.google.com/.

Step 2: Get the Google Translate API Key

  1. Create a new project:
    • In the top menu, select “Project” and then “NEW PROJECT”.
    • Assign a name to the project and click “Create”.
  2. Set up the service account:
    • In the side menu, select “IAM & Admin” and then “Service Accounts”.
    • Click “CREATE SERVICE ACCOUNT”.
    • Fill in the required information and click “CREATE AND CONTINUE”.
  3. Create a key for the service account:
    • In the list of service accounts, locate the one you just created. Click the three vertical dots on the right and select “Manage keys”.
    • Click “ADD KEY” and then “Create new key”.
    • Select the key type “JSON” and click “CREATE”. Save this file in a secure place; you’ll need it later.
  4. Enable the Cloud Translation API:
    • In the side menu, select “APIs & Services” and then “Library”.
    • Search for “Cloud Translation API” and click “Enable”. You may need to configure billing information.
  5. Copy the content of the JSON file: Open the JSON file you downloaded and copy all its content. You’ll need it in the next step.

Google Translate Credentials

Google Translate Credentials

Google Translate Credentials

Google Translate Credentials

Google Translate Credentials

Google Translate Api Key

Google Translate Credentials

Google Translate Credentials

Google Translate Api Key

Google Translate Api Key

Google Translate Api Key

Step 3: Enter the API Key in AI Content Labs

  1. Access AI Content Labs at https://app.aicontentlabs.com.
  2. Click on the user menu at the bottom left of the screen.
  3. Select “Set Up API Keys”.
  4. Locate the “Google Translate” card.
  5. Paste the content of the JSON file you copied into the “Private Key JSON” field.
  6. Click “Save”.

Set Up API Keys

Google Translate credentials in AI Content Labs

Google Translate credentials in AI Content Labs

By following these steps, you have integrated Google Translate with AI Content Labs using the Google Translate JSON for authentication. Contact technical support if you encounter any issues.