

# Hide machine learning tools and applications in the Amazon SageMaker Studio UI
<a name="studio-updated-ui-customize-tools-apps"></a>

**Important**  
As of November 30, 2023, the previous Amazon SageMaker Studio experience is now named Amazon SageMaker Studio Classic. The following section is specific to using the updated Studio experience. For information about using the Studio Classic application, see [Amazon SageMaker Studio Classic](studio.md).

This topic shows how to hide applications and machine learning (ML) tools displayed in the Amazon SageMaker Studio user interface (UI). For information on the Studio UI, see [Amazon SageMaker Studio UI overview](studio-updated-ui.md).

This customization does not block access to these resources. If, instead, you want to block access to an application, see [Amazon SageMaker Role Manager](role-manager.md).

For information about the applications, see [Applications supported in Amazon SageMaker Studio](studio-updated-apps.md).

The customize Studio UI feature is not available in Amazon SageMaker Studio Classic.

You can customize the Studio UI on a domain level and a user level:
+ Customization on a domain level sets the default for all users in the domain.

  These default settings apply for all users in the domain who have *not* had these changes made to their individual user settings.
+ Customization on a user level will take priority over the domain level settings.

Use the following topics to learn more on the different customization levels and how to apply them.

**Topics**
+ [Hide machine learning tools and applications on a domain level](studio-updated-ui-customize-tools-apps-domain.md)
+ [Hide machine learning tools and applications on a user level](studio-updated-ui-customize-tools-apps-user.md)

# Hide machine learning tools and applications on a domain level
<a name="studio-updated-ui-customize-tools-apps-domain"></a>

The following shows how to use the console to customize the applications and ML tools displayed in Studio on a domain level. For more information, see [Hide machine learning tools and applications in the Amazon SageMaker Studio UI](studio-updated-ui-customize-tools-apps.md).

This feature is not available if Amazon SageMaker Studio Classic is set as your default experience.

## Hide machine learning tools and applications on a domain level instructions (console)
<a name="studio-updated-ui-customize-tools-apps-domain-instructions-console"></a>

**To hide machine learning tools and applications Studio UI on a domain level (console)**

1. Open the Amazon SageMaker AI console at [https://console.aws.amazon.com/sagemaker/](https://console.aws.amazon.com/sagemaker/).

1. On the left navigation pane, choose **Admin configurations**.

1. Under **Admin configurations**, choose **domains**. 

1. From the list of domains, choose the link to the domain you wish to edit.

1. On the **Domain details** page, choose the **App Configurations** tab.

1. In the **SageMaker Studio** section, choose **Customize Studio UI**.

1. On the **Customize Studio UI** page you can hide applications and ML tools displayed in Studio by toggling them off. 

   Note that not all ML features are available in all regions.

1. Once you have reviewed your changes, choose **Save**.

Once completed, you will see a green banner containing a success message at the top of the page.

## Hide machine learning tools and applications on a domain level instructions (AWS CLI)
<a name="studio-updated-ui-customize-tools-apps-domain-instructions-cli"></a>

**Note**  
To use this feature you may need to update to the latest AWS CLI version. For more information, see [Installing or updating to the latest version of the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).

You can use the AWS CLI to customize the applications and ML tools displayed in Studio on a domain level, using [StudioWebPortalSettings](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StudioWebPortalSettings.html). Use `HiddenAppTypes` to hide applications and `HiddenMlTools` to hide ML tools. 

In the following example, SageMaker Canvas and Code Editor are being hidden for users in the domain `domainId`.

```
aws sagemaker update-domain \
  --domain-id domainId \
  --default-user-settings '{"StudioWebPortalSettings": {"HiddenAppTypes": ["Canvas", "CodeEditor"]}}'
```

Note that not all ML features are available in all AWS Regions.

# Hide machine learning tools and applications on a user level
<a name="studio-updated-ui-customize-tools-apps-user"></a>

The following shows how to customize the applications and ML tools displayed in Studio on a user level. For more information, see [Hide machine learning tools and applications in the Amazon SageMaker Studio UI](studio-updated-ui-customize-tools-apps.md).

This feature is not available if Studio Classic is set as your default experience. 

## Hide machine learning tools and applications on a user level instructions (console)
<a name="studio-updated-ui-customize-tools-apps-user-instructions-console"></a>

**To hide machine learning tools and applications Studio UI on a user level (console)**

1. Open the Amazon SageMaker AI console at [https://console.aws.amazon.com/sagemaker/](https://console.aws.amazon.com/sagemaker/).

1. On the left navigation pane, choose **Admin configurations**.

1. Under **Admin configurations**, choose **domains**. 

1. From the list of domains, choose the link to the domain you wish to edit.

1. On the **Domain details** page, choose the **User profiles** tab.

1. In the **User profiles** section, choose the link to the user profile you wish to edit.

1. Choose the **App Configurations** tab.

1. In the **SageMaker Studio** section, choose **Customize Studio UI**.

1. On the **Customize Studio UI** page you can hide applications and ML tools displayed in Studio by toggling them off. 

   Note that not all ML features are available in all regions.

1. Once you have reviewed your changes, choose **Save**. This will take you back to the user profile edit flow.

1. Choose **Save changes**. 

Once completed, you will see a green banner containing a success message at the top of the page.

## Hide machine learning tools and applications on a user level instructions (AWS CLI)
<a name="studio-updated-ui-customize-tools-apps-user-instructions-cli"></a>

**Note**  
To use this feature you may need to update to the latest AWS CLI version. For more information, see [Installing or updating to the latest version of the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).

You can use the AWS CLI to customize the applications and ML tools displayed in Studio on a user level, using [StudioWebPortalSettings](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StudioWebPortalSettings.html). Use `HiddenAppTypes` to hide applications and `HiddenMlTools` to hide ML tools. 

In the following example, SageMaker Canvas and Code Editor are being hidden for user *userProfileName* in the domain `domainId`.

```
aws sagemaker update-user-profile \
  --domain-id domainId \
  --user-profile-name userProfileName \
  --user-settings '{"StudioWebPortalSettings": {"HiddenAppTypes": ["Canvas", "CodeEditor"]}}'
```

Note that not all ML features are available in all AWS Regions.