Currently, you need to obtain an API-key if you use attranslate
with automated translation-services.
This document provides guidance on how to obtain API-keys for specific services.
Once you have an API-key, pass your API-key to attranslate
via the --serviceConfig
-flag.
- Create an account on https://platform.openai.com/
- Create and copy an API key from https://platform.openai.com/account/api-keys
- Pass your API key via the
--serviceConfig
-flag toattranslate
.
Follow these steps to get an API-key for Google Translate:
- Select or create a Cloud project
- Enable the Google Cloud Translation API
- Create a service account to obtain a
service_account_key.json
-file.
Once you have a service account, pass a path to your service_account_key.json
via the --serviceConfig
-flag to attranslate
.
Follow these steps to get an API-key for Azure Translator:
- Sign Up for an Azure account if you don't have one already.
- Create a new translator instance via https://azure.microsoft.com/services/cognitive-services/translator/