Creating a service instance for Watson Discovery from the web client
After you install Watson Discovery, you must create at least one Watson Discovery service instance in the operands project. If you are a IBM® Software Hub user, you can use the web client to create service instances. The web client guides you through the process of creating service instances.
- Who needs to complete this task?
- To create a service instance from the web client, you must have the Create service instances permission in IBM Software Hub.
- When do you need to complete this task?
- Complete this task only if you want to create a service instance from the web client.
Alternative methods for creating a service instance
- By using the
cpd-cli service-instance createcommand. For more information, see Creating a service instance for Watson Discovery with the cpd-cli service-instance create command. - By using the
/v3/service_instancesREST API call. For more information, see Creating a service instance for Watson Discovery programmatically.
- By using the
Before you begin
This task assumes that the following prerequisites are met:
| Prerequisite | Where to find more information |
|---|---|
| Watson Discovery is installed. | If this task is not complete, see Installing Watson Discovery. |
About this task
By default, you can create a maximum of 10 instances. After you reach the maximum number, the Create button is disabled in the Create service instance window. However, this instance limit can be modified.
To increase the maximum
instances:
oc patch wd wd --type=merge --patch='{"spec":{"shared":{"mtdata":{"maxInstances": <NUM_OF_INSTANCES>}}}}'To revert to the default value of maximum 10
instances:
oc patch wd wd --type=merge --patch='{"spec":{"shared":{"mtdata":{"maxInstances": 10}}}}'Procedure
To create a service instance:
- Log in to the web client.
- Switch to the IBM Cloud Pak for Data experience, if needed.
- From the navigation menu, select .
- Click New instance.
- Click the Watson Discovery tile. Then, click Next.
- Add a name and other details for the service instance, and then click Create.
- Wait 1 to 2 minutes for the new instance to be provisioned.
What to do next
You must give users access to the service instance. For more information, see Giving users access to a Watson Discovery instance.