# IBM Cloud Services and Keys

## Watson Studio and Cloud Object Storage

Provision a Watson Studio service:

1. Login to [IBM Cloud](https://cloud.ibm.com)
2. From your Dashboard page, click on the ***'Create resource'*** button  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldvpkueh2fYarVt6%2Fscreen-shot-2019-10-26-at-10.05.48-pm.png?generation=1572608583388479\&alt=media)&#x20;
3. Select the ***'AI'*** filter from the left panel and then select the ***'Watson Studio'*** tile  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-LsaldvrsEYXlvvf7Ulw%2Fscreen-shot-2019-10-27-at-12.40.48-pm.png?generation=1572608583350709\&alt=media)&#x20;
4. Leave the ***'Dallas'***  region and ***'Lite'***  plan options selected and then click the ***'Create'*** button

Now provision a Cloud Object storage service (which Watson Studio uses to store content/assets).

1. From your IBM Cloud Dashboard page, click on the ***Create resource*** button  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-LsaldvtrQLdKeowEEYD%2Fscreen-shot-2019-10-26-at-10.05.48-pm.png?generation=1572608582601850\&alt=media)&#x20;
2. Select the ***'Storage'*** filter from the left panel and then select the ***'Object Storage'*** tile   ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-LsaldvvQ9pEnrC2P_mH%2Fscreen-shot-2019-10-27-at-12.49.37-pm.png?generation=1572608583402942\&alt=media)&#x20;
3. Leave the default ***'Lite'***  plan options selected and then click the ***'Create'*** button

## Watson OpenScale

1. From the [IBM Cloud](https://cloud.ibm.com) Dashboard page, click on the ***'Create resource'*** button  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldvxd8woYNlWT_vY%2Fscreen-shot-2019-10-26-at-10.05.48-pm.png?generation=1572608591051361\&alt=media)&#x20;
2. Select the ***'AI'*** filter from the left panel and then select the ***'Watson OpenScale'***  tile  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldvzjf_DkTSgT-Ls%2Fscreen-shot-2019-10-27-at-12.54.16-pm%20\(1\).png?generation=1572608583837907\&alt=media)&#x20;
3. Leave the ***'Dallas'***  region and ***'Lite'***  plan options selected and then click the ***'Create'*** button

## Watson Machine Learning

1. From the [IBM Cloud](https://cloud.ibm.com) Dashboard page, click on the ***'Create resource'*** button  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldw0ylLEqlTJXeY0%2Fscreen-shot-2019-10-26-at-10.05.48-pm.png?generation=1572608583497228\&alt=media)&#x20;
2. Select the ***'AI'*** filter from the left panel and then select the ***'Machine Learning'***  tile  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldw2oVI5GjcjKyy-%2Fscreen-shot-2019-10-27-at-1.05.18-pm.png?generation=1572608583869395\&alt=media)&#x20;
3. Leave the ***'Dallas'***  region and ***'Lite'***  plan options selected and then click the ***'Create'*** button

**Service Key**

We will be deploying a model to this service using the Python SDK. To do that, we need to use the service credentials to instantiate the client. You can find the service credentials as follows:

1. From the [Resource List](https://cloud.ibm.com/resources), find and click on the Watson Machine Learning service you created for this lab  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldw4XBVo0VOaRiFA%2Fscreen-shot-2019-10-27-at-1.13.01-pm.png?generation=1572608583509212\&alt=media)&#x20;
2. ***'Click'*** on the *'Service credentials'* option on the left panel.
3. 'Click' on 'View credentials' under the Actions column.
4. Copy these credentials into a text editor. You will use them later in the lab.  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldw6TJNPEhAOc6xs%2Fscreen-shot-2019-10-27-at-1.20.22-pm.png?generation=1572608584407245\&alt=media)&#x20;

{% hint style="info" %}
If you do not see any credentials when you click on the service, you can create a new set by clicking on the 'New credential' button.
{% endhint %}

## Cloud API Key

Finally, we will create a Cloud API key, which allows scripts to log in as your user identity. We will use this API key to get the Watson OpenScale service instance GUID and interact with that service. Follow the steps below to create the key:

1. From the [IBM Cloud](https://cloud.ibm.com) Dashboard page, click on the ***'Manage'*** drop down menu and select the ***'Access (IAM)'*** option.  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-Lsaldw8oxsKt7ZfJutw%2Fscreen-shot-2019-10-27-at-2.41.28-pm.png?generation=1572608583527667\&alt=media)&#x20;
2. Click on the ***'IBM Cloud API Keys'*** option from the left panel and then on the ***'Create an IBM Cloud API key'*** button on the right.  ![](https://3240798165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsakxHDxCiGw8HDL33i%2F-Lsald5XEkAkfK1_abU2%2F-LsaldwAPpYHXURC7RGr%2Fscreen-shot-2019-10-27-at-2.44.07-pm.png?generation=1572608582598136\&alt=media)&#x20;
3. Give your key a name and then click the 'Create' button in the pop up window.
4. Copy the value of this API key into a text editor. You will use it later in the lab.

{% hint style="warning" %}
Be sure you copy the actual value of the key before closing the pop up window as you will not be able to see if after its closed.
{% endhint %}
