Sources
WatsonX.Data
Connect AI Squared to WatsonX.Data
This guide will help you configure the WatsonX.Data Connector in AI Squared to access your WatsxonX.Data databases.
Prerequisites
Before proceeding, ensure you have the following details: API key, region, Instance Id (CRN), Engine Id, Database, and Schema.
Step-by-Step Guide to Connect to a WatsonX.Data Database Engine.
Step 1: Navigate to WatsonX.Data Console
Start by logging into your WatsonX Console.
Step 2: Locate Developer Access
Once you’re in WatsonX, you’ll need find the necessary configuration details by following these steps in order:
API Key:
- Scroll down to Developer access.
- Click on
Manage IBM Cloud API keys
to view your API keys. - If you haven’t created an API key before, click on
Create API key
to generate a new one. Make sure to copy the API Key as they are shown only once.
Region
- The IBM Cloud region can be selected from the top right corner of the WatsonX Console. Choose the region where your WatsonX.Data resources are located and note down the region.
Instance Id
- Open the
Navigation Menu
, selectAdministration
,Services
, and finallyService instances
.
- From the
Service instances
table, select your WatsonX.Data instance.
- Scroll down to Deployment details, and write down the CRN, that’s your Instance Id.
Engine ID
- Scroll back up and click
Open web console
.
-
Open the Global Menu, select
Infrastructure manager
. -
Select the Presto engine you are building the connector for to show the Engine details.
- Write down the Engine ID.
Database
- On the same screen as the previous step, your database is one of the Associated catalogs in the Presto engine.
Schema
- Open the Global Menu, select
Data manager
, and expand your associated catalog to show the available schemas.
Step 3: Configure WatsonX.Data Source Connector in Your Application
Now that you have gathered all the necessary details enter the following information:
- API Key: Your IBM Cloud API key.
- Region: The IBM Cloud region where your WatsonX.Data resources are located.
- Instance Id: The instance ID, or CRN (Clourd Resource Name) for your WatsonX.Data deployment.
- Engine Id: The Engine Id of the Presto engine.
- Database: The catalog associated to your Presto engine.
- Schema: The schema you want to connect to.
Was this page helpful?