> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Review and deploy a semantic model

> Review, approve/reject, and deploy a semantic model to make it available as a materialized view.

After a user has created a semantic model, you, as an administrator, can review, approve/reject,
and deploy it. Only after deploying the semantic model is a materialized view created.

## Prerequisites

* Appropriate permission: `nx1_semantic_admin`
* An existing semantic model having a `draft` status

## Review and deploy a semantic model

<Tabs>
  <Tab title="Web portal" icon="browser">
    Perform these steps to review and deploy a semantic model.

    1. Log in to NexusOne.

    2. On the top navigation bar, hover your mouse over **Catalog & Models** and then select **Semantic Models**.

    3. Scroll through the table and click the three dots, `...`, at the right on your selected semantic model.

    4. Click **Submit for Review**.

    5. At the top of the table, click **Pending Reviews**.

    6. Scroll through the table and click **Review** on your selected semantic model.

    7. To approve or reject the semantic model, do one of the following:

       * Enter a review note stating the reason for rejecting the semantic model and click **Reject**.
       * Click **Approve** to approve the semantic model.

    8. Click **All Models**.

    9. Scroll through the table and click your selected semantic model.

    10. Click **Deploy**, then do one or more of the following:

        * Toggle the **Register in DataHub** button to register the deployed view for discovery.
        * Toggle the **Add Lineage** button to track data lineage from source tables in DataHub.
        * Toggle the **Create Dashboard** button to create a Superset dashboard.
        * Toggle the **Schedule Refresh** button and then enter a cron schedule to create
          an Airflow DAG for periodic refresh.

    11. Click **Deploy**.

    After deploying the semantic model, NexusOne creates a materialized view. Depending on your preferred
    selection in step 10, visit DataHub to see the data lineage of the materialized view, or Superset to
    view the materialized view's dashboard.
  </Tab>

  <Tab title="REST API" icon="code">
    Use the following API endpoints to:

    * [Get pending reviews](/api-reference/endpoints/semantic-models/get-pending-reviews)
    * [Approve model](/api-reference/endpoints/semantic-models/approve-model)
    * [Batch approve model](/api-reference/endpoints/semantic-models/batch-approve-models)
    * [Batch reject model](/api-reference/endpoints/semantic-models/batch-reject-models)
    * [Reject model](/api-reference/endpoints/semantic-models/reject-model)

    Because you are selecting an existing domain and semantic model you can use
    the following API endpoints to:

    * [Get domains](/api-reference/endpoints/metastore/get-domains)
    * [Get semantic model](/api-reference/endpoints/semantic-models/get-semantic-model)
  </Tab>
</Tabs>

## Additional resources

For an overview of the Semantic Models feature, refer to [Semantic Models overview](/documentation/catalog-and-models/overview/semantic-models).
