# Managing the Watson Machine Learning service endpoint #

You can use IBM Cloud connectivity options for accessing cloud services securely by using service endpoints\. When you provision a Watson Machine Learning service instance, you can choose if you want to access your service through the public internet, which is the default setting, or over the IBM Cloud private network\.

For more information, refer to [IBM Cloud service endpoints](https://cloud.ibm.com/docs/account?topic=account-vrf-service-endpoint)\.\{: new\_window\}

You can use the Service provisioning page to choose a default endpoint from the following options:

<!-- <ul> -->

 *  [Public network](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-service-endpoint.html?context=cdpaas&locale=en#public_net)
 *  [Private network](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-service-endpoint.html?context=cdpaas&locale=en#private_net)
 *  Both, public and private networks

<!-- </ul> -->

## Public network ##

You can use public network endpoints to connect to Watson Machine Learning service instance on the public network\. Your environment needs to have internet access to connect\.

## Private network ##

You can use private network endpoints to connect to your IBM Watson Machine Learning service instance over the IBM Cloud Private network\. After you configure your Watson Machine Learning service to use private endpoints, the service is not accessible from the public internet\.

### Private URLs for Watson Machine Learning ###

Private URLs for Watson Machine Learning for each region are as follows:

<!-- <ul> -->

 *  Dallas \- [https://private\.us\-south\.ml\.cloud\.ibm\.com](https://private.us-south.ml.cloud.ibm.com)
 *  London \- [https://private\.eu\-gb\.ml\.cloud\.ibm\.com](https://private.eu-gb.ml.cloud.ibm.com)
 *  Frankfurt \- [https://private\.eu\-de\.ml\.cloud\.ibm\.com](https://private.eu-de.ml.cloud.ibm.com)
 *  Tokyo \- [https://private\.jp\-tok\.ml\.cloud\.ibm\.com](https://private.jp-tok.ml.cloud.ibm.com)

<!-- </ul> -->

## Using IBM Cloud service endpoints ##

Follow these steps to enable private network endpoints on your clusters:

<!-- <ol> -->

1.  Use [IBM Cloud CLI](https://cloud.ibm.com/docs/cli?topic=cli-getting-started) to enable your account to use IBM Cloud service endpoints\.
2.  Provision a Watson Machine Learning service instance with private endpoints\.

<!-- </ol> -->

## Provisioning with service endpoints ##

You can provision a Watson Machine Learning service instance with service endpoint by using IBM Cloud UI or IBM Cloud CLI\.

### Provisioning a service endpoint with IBM Cloud UI ###

To configure the endpoints of your IBM Watson Machine Learning service instance, you can use the **Endpoints** field on the IBM Cloud catalog page\. You can configure a public, private, or a mixed network\.

![Configure endpoint from the service catalog](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/images/ml-endpoints.png)

### IBM Cloud CLI ###

If you provision an IBM Watson Machine Learning service instance by using the IBM Cloud CLI, use the command\-line option service\-endpoints to configure the Watson Machine Learning endpoints\. You can specify the value `public` (the default value), `private`, or `public-and-private`:

    ibmcloud resource service-instance-create <service instance name> pm-20 <plan_name> <region>  --service-endpoints <private/public/public-and-private>

For example:

    ibmcloud resource service-instance-create wml-instance pm-20 standard us-south -p  --service-endpoints private

or

    ibmcloud resource service-instance-create wml-instance pm-20 standard us-south --service-endpoints public-and-private

**Parent topic:**[First steps](https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/ml-overview.html)

<!-- </article "role="article" "> -->