IBM watsonx.data Milvus connection

Last updated: May 08, 2025
IBM watsonx.data Milvus connection

Use the watsonx.data Milvus connection to store and confirm the accuracy of your credentials and connection details to access a Milvus vector store.

Milvus is a vector database that is built for scalable similarity search. You can use the watsonx.data Milvus connection to connect to the Milvus service inside IBM watsonx.data.

Prerequisite to connect to a watsonx.data Milvus instance in watsonx.data

Use the watsonx.data console to provision a Milvus instance in watsonx.data:

Create a connection to watsonx.data Milvus

You can import a JSON file to fill in these fields using the Import connection values. To get the JSON file needed for this connection, you will need to go to your watsonx.data instance's console page and navigate to the Connection information field and you can copy the JSON file.

To create the connection asset, you need these connection details:

  • Hostname: Hostname of the Milvus service
  • Port: Port number of the Milvus service
  • Database (optional): Database name
  • Username: The username to access the Milvus service. Enter the username that you use to access the watsonx.data instance.
    • If you are connecting to Milvus on watsonx.data as a Service, enter the username in the following format: ibmlhapikey_<saas_account_email>
  • Password: The password to access the Milvus service. Enter the password that you use to access the watsonx.data instance.
    • If you are connecting to Milvus on watsonx.data as a Service, enter the API key. For more information, see Managing user API keys.
    • If you are connecting to Milvus on watsonx.data that is on Cloud Pak for Data, it uses an Identity Management Service (IAM), for example, LDAP or SSO. You can enter the IAM API key. The API key is located in the Profile and settings of the target Cloud Pak for Data cluster. For information on API keys, see Generating API keys for authentication.
  • SSL certificate: The SSL certificate of the host to be trusted. The certificate is needed only when the host certificate is not signed by a known certificate authority.

Choose the method for creating a connection based on where you are in the platform

In a project
Click Assets > New asset > Connect to a data source. See Adding a connection to a project.


In a deployment space
Click Import assets > Data access > Connection. See Adding data assets to a deployment space.

In the Platform assets catalog
Click New connection. See Adding platform connections.

Test the connection

After you enter the connection details, credentials, and optional SSL certificate, click Test connection to confirm that you can connect to the Milvus instance.

Restriction

The watsonx.data Milvus connection is a testing mechanism to store and confirm the accuracy of your credentials and connection details to access the Milvus instance. Because Milvus is a vector store, you cannot browse data from the connection or read data from it.

Learn more

Related connection: IBM watsonx.data Presto connection

Parent topic: Supported connections