You can use IBM App Connect to pass key data between Watson Language Translator and other apps â€“ automatically, in real time.
You can use App Connect with Watson Language Translator by configuration and data mapping without a need for coding, and can achieve a return on your investment in minutes/hours, not days/months.
This guide is to show you how…
If you can’t find what you want, or have comments about the “how to” information, please either add comments to the bottom of this page or send us comments by email.
About Watson Language Translator
IBM Watson Language Translator identifies the language of text and translates it from one language to another.
A typical business scenario
Say youâ€™re leading a team thatâ€™s part of a large international customer services department. Thereâ€™s so much to do, and your team is spread across several locations. You want to ensure that you reach your whole customer base and that you communicate with customers in the correct language. You also need to send your campaigns to potential customers in different countries so you need to get your campaigns translated too. You need to move fast so that you can reach customers before your competitors however you don’t have time to find translators and wait for the content to be translated. You need to get content translated quickly or if possible automatically.
How App Connect can help
When a new contact is created in a CRM for example Salesforce, you could retrieve the country and invoke Watson Language Translator to translate a message to a particular language based on the country and send an email or campaign from another app such as MailChimp.
What should I consider first?
To use Watson Language Translator with App Connect, you must have provisioned a Watson Language Translator service in IBM Cloud.
You can connect App Connect to the Watson Language Translator application either from the Applications tab on the App Connect Catalog page, or when you add the application to a flow. You’ll need to provide the following connection details:
- Base URL: Specify the base URL for the Watson Language Translator service endpoint; for example:
- API key: If your service instance supports token-based Identity and Access Management (IAM) authentication, specify the API key for that instance. (Leave the User name and Password fields blank.)
- User name: If your service instance uses Cloud Foundry service credentials for authentication, specify your user name for that instance. (Leave the API key field blank.)
- Password: If your service instance uses Cloud Foundry service credentials for authentication, enter the password for the specified user name. (Leave the API key field blank.)
Example of completed fields for connecting from App Connect using IAM authentication
You can find the connection values on the “Service credentials” page for the service instance in IBM Cloud:
- Log in to IBM Cloud.
- From the IBM Cloud Dashboard, click the Watson service instance that you want to work with.
- To view the service credentials, click Service credentials in the left pane, and then click View credentials.
- Example of completed fields for connecting from App Connect using IAM authentication