Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring Google Translate API key

Updated on November 30, 2023

Enhance communication between customers and CSRs using the Web Messaging widget by implementing real-time translation with the Google Translate API. To enable secure access to Google's translation service, obtain a Google Translate API key from your Google Cloud account. This third-party integration provides seamless multilingual support in your application, promoting global engagement.

Before you begin: Create a Google Cloud account for the Google translation service. For more information, see Translation AI (Google).
  1. Sign in to the Google Cloud console.
  2. In the Google Cloud console, create a new project.
    For more information, see the Create or select a project section in Google translation setup, and Creating and managing projects.
  3. Enable the Google Translate API.
    For more information, see the Enabling the API section in Google translation setup , and Enabling and Disabling Services.
  4. Generate an API key to use for the Google translate service.
    For more information, see the Create an API key section in Authenticate by using API keys.
  5. Optional: To limit the usage of data in the Google translate services, select quotas and limits for your project.
    For more information, see Quotas and limits.
  6. Define the Google Translate API key for your Web Messaging connection.
    1. In your Digital Messaging channel interface, click the Connection tab
    2. Click Manage connections.
    3. In the Digital Messaging Manager window, edit your Web Messaging connection, and then click the Language tab.
    4. In the Real-time translations section, in the Translation service list, select Google Translate.
    5. In the API key field, enter the API key that you generated in step 4.
    6. Click Save.
  • Previous topic Enabling real-time translation for Web Messaging
  • Next topic Adding custom localizations in Web Messaging

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us