# Create and Manage Project Workspaces

After workspaces are configured, project owners can enable workspaces within their projects. This feature allows project members to [write data](https://documentation.immuta.com/saas/govern/secure-your-data/projects-and-purpose-based-access-control/write-index/how-to-guides/write-data-back) to the project.

## **Requirement**

* You must own the project

## **Prerequisites**

### Snowflake

{% hint style="warning" %}
**Deprecation notice**

Support for project workspaces for Snowflake has been deprecated. See the [Deprecations page](https://documentation.immuta.com/saas/releases/deprecations) for EOL dates.
{% endhint %}

* [Snowflake integration is configured with workspaces enabled](https://documentation.immuta.com/saas/configuration/integrations/snowflake/how-to-guides/enterprise).
* [Snowflake tables are registered in Immuta](https://documentation.immuta.com/saas/configuration/integrations/data-and-integrations/registering-metadata/register-data-sources/snowflake-tutorial).
* External IDs have been connected with an IAM or [manually mapped](https://documentation.immuta.com/saas/configuration/people/users-index/how-to-guides/external-user-mapping) in for Snowflake.
* Data sources registered by [excepted roles](https://documentation.immuta.com/saas/configuration/integrations/snowflake/reference-guides/snowflake-overview#excepted-rolesusers): Snowflake workspaces generate static views with the credentials used to register the table as an Immuta data source. Those tables must be registered in Immuta by an excepted role so that policies applied to the backing tables are not applied to the project workspace views.

### Databricks Spark

* [Databricks Spark integration is configured](https://documentation.immuta.com/saas/configuration/integrations/databricks/databricks-spark/how-to-guides/simplified).
* [Databricks workspace is configured](https://documentation.immuta.com/saas/configuration/application-configuration/how-to-guides/config-builder-guide#add-a-workspace).
* [Databricks tables are registered in Immuta](https://documentation.immuta.com/saas/configuration/integrations/data-and-integrations/registering-metadata/register-data-sources/databricks-tutorial).
* [External IDs have been mapped in for Databricks](https://documentation.immuta.com/saas/configuration/people/users-index/how-to-guides/external-user-mapping).

## Create a workspace

{% tabs %}
{% tab title="Snowflake" %}

1. Navigate to the **Policies** tab and enable project equalization by clicking the **Project Equalization** slider to **on**.
2. Scroll to the **Workspace** section and click **Create**.
3. Select **Snowflake** from the Workspace Configuration dropdown menu.
4. Name the **Workspace Schema**. By default, the schema name is based off of the project name, but you can change it here. Your project workspace will exist within this schema under Snowflake under the database configured by the Application Admin.
5. Use the dropdown menu to select the **Hostname**. *Projects can only be configured to use one Snowflake host.*
6. Select one or more **Warehouses** to be available to project members when they are working in the Snowflake workspace.
7. Click **Create** to enable the workspace.
   {% endtab %}

{% tab title="Databricks Spark" %}
{% hint style="info" %}
**Databricks cluster configuration**

Before creating a workspace, the cluster must send its configuration to Immuta; to do this, run a simple query on the cluster (i.e., `show tables`). Otherwise, an error message will occur when you attempt to create a workspace.
{% endhint %}

1. Navigate to the **Policies** tab and enable **Project Equalization** by clicking the Project Equalization slider to **on**.
2. Scroll to the **Workspace** section and click **Create**.
3. Select **Databricks** from the **Workspace Configuration** dropdown menu.
4. Opt to edit the sub-directory in the **Workspace Directory** field; this sub-directory auto-populates as the project name.
5. Enter the **Workspace Database Name**.
6. Click **Create** to enable the workspace.
   {% endtab %}
   {% endtabs %}

## Delete a workspace

1. Scroll to the **Workspace** section on the policies tab and click the **toggle** to disable the workspace.
2. Click **Delete** in the workspace section.
3. Click **Delete**.
