IBM Developer Day | Bengaluru | March 14th Register now
By Chris Phillips | Updated July 13, 2017 - Published July 12, 2017
API ManagementArtificial IntelligenceCloudHybrid Cloud
IBM® Watson® is an AI platform that helps businesses to uncover insights, engage in new ways, and make decisions with more confidence. The numerous Watson APIs that are available both analyze and process data. IBM API Connect™ provides a way to control back-end systems, such as the ones you run inside your organization or services that you run on IBM Cloud®.
This tutorial demonstrates how you can expose the Swagger file for IBM Watson as an API in API Connect. By having access to Watson APIs in API Connect, you can control and track usage of how your organization is using Watson.
The steps in this tutorial use the Watson Language Translator API as an example. However, you can use these steps for any Watson APIs.
Watson Language Translator
If you require more configuration, such as security, you can extend the API in the Design view to add these functions.
In this article, you learned how to locate the Watson Swagger file and load it into API Connect. You then created an assembly, deployed a Watson Service, and published it as an API. You can use these same steps for any Watson APIs.
Ready to get started? Use the Language Translator API to translate text from one language to another for specific domains. Then, see how else you can use other Watson services, such as the Tone Analyzer API to analyze the tone of support transcripts or the Watson Assistant API to automate interactions with your users, using virtual agents and chat bots.
The author thanks Dennis Ashby for his review of this article.
Get the Code »
API ManagementArtificial Intelligence+
Back to top