Connecting
IBM® Cloudant® for IBM Cloud® is accessed through an HTTP API. You can see the different parts that you use to connect to IBM Cloudant in the following list:
- Endpoints
- Service keys
- Authentication
- Accessing the IBM Cloudant Dashboard
- Programmatically accessing IBM Cloudant by using curl or client libraries
Endpoints
IBM Cloudant is accessed through HTTP API endpoints. The endpoints for an instance are shown in both the URL field of the Service Credentials that are generated for the instance, and in Account > Settings of the IBM Cloudant Dashboard.
All IBM Cloudant HTTP endpoints must be accessed over TLS and prefaced by https://.
The publicly facing external endpoint is shown in the following example:
00000000-0000-0000-0000-00000000.abc.cloudant.eu-de.dataservices.appdomain.cloud
00000000-0000-0000-0000-00000000is the unique identifier for the instance.abcis the ingress domain for this instance in which the instance is deployed. It will be a combination of three letters.cloudantis the service name.eu-deis the data center in which the instance is deployed.dataservices.appdomain.cloudis the domain for the IBM's data services.
Private (internal) endpoints are availble on all instances. An example IBM Cloud Private (internal) network endpoint is shown in the following example:
00000000-0000-0000-0000-00000000.private.abc.cloudant.eu-de.dataservices.appdomain.cloud
Note the word private in the URL.
Service credentials
To generate service credentials for IBM Cloudant by using the IBM Cloud Dashboard, see the Creating an IBM Cloudant instance on IBM Cloud tutorial. To generate service credentials from the IBM Cloud CLI, see Creating an instance with CLI.
The following example shows service credentials for an IBM Cloudant instance:
{
"guid": "e46688a4-7155-4ee3-92ed-d64baa0f6e17",
"id": "crn:v1:bluemix:public:cloudant-cdp-dev:us-east:a/92a3346cfc4a:00000000-0000-0000-0000-00000000:resource-key:e46688a4-7155-4ee3-92ed-d64baa0f6e17",
"url": "/v2/resource_keys/e46688a4-7155-4ee3-92ed-d64baa0f6e17",
"created_at": "2026-06-01T13:10:13.722032774Z",
"updated_at": "2026-06-01T13:10:13.722032774Z",
"deleted_at": null,
"name": "test-key",
"account_id": "92a3346cfc4a",
"resource_group_id": "...",
"source_crn": "crn:v1:bluemix:public:cloudant-cdp-dev:us-east:a/92a3346cfc4a:00000000-0000-0000-0000-00000000::",
"state": "active",
"credentials": {
"apikey": "...",
"iam_apikey_description": "Auto-generated for key crn:v1:bluemix:public:cloudant-cdp-dev:us-east:a/REDACTED:00000000-0000-0000-0000-00000000:resource-key:e46688a4-7155-4ee3-92ed-d64baa0f6e17",
"iam_apikey_id": "ApiKey-82b20656-9c5e-4c5c-9418-45962fc96c92",
"iam_apikey_name": "test-key",
"iam_role_crn": "...",
"iam_serviceid_crn": "...",
"url": "https://00000000-0000-0000-0000-00000000.abc.cloudant.eu-de.dataservices.appdomain.cloud",
"vpe_url": "https://00000000-0000-0000-0000-00000000.private.abc.cloudant.eu-de.dataservices.appdomain.cloud"
},
"iam_compatible": true,
"onetime_credentials": false,
"resource_instance_url": "/v2/resource_instances/00000000-0000-0000-0000-00000000",
"crn": "crn:v1:bluemix:public:cloudant-cdp-dev:us-east:a/92a3346cfc4a:00000000-0000-0000-0000-00000000:resource-key:e46688a4-7155-4ee3-92ed-d64baa0f6e17"
}
The service credentials include the following fields:
apikey- The IAM API key.
iam_apikey_description- Description of the IAM API key.
iam_apikey_name- ID of the IAM API key.
iam_role_crn- The IAM role that the IAM API key has.
iam_serviceid_crn- The CRN of the service ID.
IBM Cloudant Dashboard
You can open the IBM Cloudant Dashboard for your instance by going to the Manage tab of the IBM Cloud Dashboard instance details page. You can use either Launch or Launch Cloudant Dashboard to open the dashboard in
a new browser tab. You can do the following tasks by using the IBM Cloudant Dashboard:
- Perform create, retrieve, update, delete on IBM Cloudant databases, documents, and indexes.
- Set up and view replication jobs.
- View active tasks.
Programmatic access
Client libraries
IBM Cloudant has official, supported client libraries for Java™, Node.js, Python, Swift, Go, and Mobile. For more information, see the client libraries documentation to access the libraries, and see examples for connecting to an IBM Cloudant instance from each.