Machine translation API keys

How to get API keys for machine translation engines


A machine translation application programming interfaces (API) key is required to integrate machine translation into other applications and systems, either as a developer or as an user.

Examples

  • To integrate a machine translation API into systems and applications.
  • To use machine translation in a translation application, like a translation management systems (TMS) or computer-aided translation (CAT) tool.

Amazon Translate (AWS)

Create an AWS account How to obtain an API key for Amazon Translate AWSpic1

  1. You will need a debit or credit card. One USD or EUR is temporarily charged to your bank account. Provide your personal details. In the next step select the payment plan:

How to obtain an API key for Amazon Translate AWSpic2

  1. Next, configure your account locally. Download and install the AWS CLI (Command Line Interface). Additional information on how to accomplish this task may be found in the AWS Documentation.

How to obtain an API key for Amazon Translate AWSpic3

  1. Look for necessary credentials in your AWS Management Console.

  2. Click the name of your account in the upper, right corner of the page.

  3. Select My Security Credentials.

  4. Click Access keys (access key ID and secret access key).

  5. Generate the key. Download the key file. Remember to store it in a safe place.

  6. Run AWS CL by opening a windows command prompt. Type in aws configure.

  7. When prompted enter the required data. Confirm by pressing Enter after each line. When prompted for the Default region name enter us-west-2 or follow the instructions given here: https://docs.aws.amazon.com/general/latest/gr/rande.html.

  8. Type in aws configure again. This is an example of what you should see then:

How to obtain an API key for Amazon Translate AWSpic4

You have successfully set up your AWS credentials, incl. your API key.

DeepL

Create a DeepL account here

  1. Select the DeepL Pro payment plan. You need your debit or credit card to register your account. Provide your personal details. Confirm each step.

  2. Press Retrieve your Authentication Key on the last screen.

  3. Go to Account. Your API key is at the bottom of the screen under ** Authentication Key for DeepL API**. Copy it and store it in a safe location.

ModernMT

Create a ModernMT account here.

  1. Click Plugins for translators > Get a license.

  2. You need your debit or credit card to register your account. Provide your personal details.

  3. Click Start your plan.

  4. Copy your activation key from the Here’s your activation key field. Store it in a safe location.

Google Cloud Translation Basic (or Google Translate API v2)

To use this MT vendor you need to have your regular Google Account. Set it up and log in to it. Then log in here.

  1. Go to Billing > Add a billing account. Accomplish all the required steps of the procedure.

How to obtain an API key_Google_pic1

  1. You should find yourself in the Dashboard view. As there are frequent changes to the Google Cloud Platform the page you find yourself may be different.

How to obtain an API key_Google_pic2

  1. Type in new project in the search window. Click Create a Project IAM & Admin.

How to obtain an API key_Google_pic3

  1. Assign a name to your project in the Project name field (for example CATpluginproject). Write it down for future use. Click Create.

How to obtain an API key_Google_pic4

  1. Type in your project name in the search window and press Enter. Click the project name in the results window.

  2. In the upper, left corner of the page, the drop-down menu has changed its name to the name of your project. Open the menu, and click the name of this project (for example CATpluginproject).

How to obtain an API key_Google_pic5

  1. The name of your project is now visible in the Search window in the middle of the upper part of the page. Click Menu (three horizontal lines one under another in the left corner) > APIs & services.

How to obtain an API key_Google_pic6

  1. Click ENABLE APIS AND SERVICES.

How to obtain an API key_Google_pic7

  1. In the left margin click Machine Learning.

How to obtain an API key_Google_pic8

  1. Click Cloud Translation API > Enable.

How to obtain an API key_Google_pic9
How to obtain an API key_Google_pic10

  1. To use this API, you need credentials. Click Create credentials to get started.

How to obtain an API key_Google_pic11

  1. From the Select an API drop-down menu select Cloud Translation API.

How to obtain an API key_Google_pic12

  1. Click Cancel.

How to obtain an API key_Google_pic13

  1. In the upper part of the dashboard, click CREATE CREDENTIALS > API key.

How to obtain an API key_Google_pic14
How to obtain an API key_Google_pic15

  1. Wait for the API key to be created. Remember to copy it and store it in a safe location. Click RESTRICT KEY to prevent unauthorized use in production.

How to obtain an API key_Google_pic16

  1. Allow the Restrict key option. In the drop-down menu select Cloud Translation API. Click Save.

How to obtain an API key_Google_pic17

You now have your API key set up.


Want to learn more about Machine translation API keys?


Edit this article →

Machine Translate is created and edited by contributors like you!

Learn more about contributing →

Licensed under CC-BY-SA-4.0.

Cite this article →