# Create and share a cloud connection for a semantic model

This article explains how to connect to a semantic model from a plan (preview) item.

To connect a plan to a semantic model, a workspace admin or member must create a **shareable cloud connection**. Other users can use this connection to access the semantic model. The following steps describe how to create and share the connection.

### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Before you can create the semantic model connection, make sure you have the following prerequisites in place:

* Data in a [Power BI semantic model](https://learn.microsoft.com/en-us/fabric/data-warehouse/semantic-models)

### Create a semantic model connection <a href="#create-a-shareable-cloud-connection" id="create-a-shareable-cloud-connection"></a>

This connection is used to connect to your semantic models when you create a plan. The following steps must be completed by a workspace admin or member who has access to the semantic model.

1. In your Fabric toolbar, select the **Settings** icon. Select **Manage connections and gateways > New**.

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2FaPn2AJu0zma9IWiQfkFc%2Fimage.png?alt=media&#x26;token=27f8d720-c72d-4082-bc1d-33ed96d9c03f" alt=""><figcaption></figcaption></figure>

2. Select **Cloud** as the **new connection**.
3. Enter a **Connection name**.
4. For **Connection type**, select *Power BI Semantic Model*.
5. Set the **Authentication method** to *OAuth2.0*.
6. Select **Edit credentials**, then sign in with your Microsoft account.
7. Select **Create.**

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2FC1aURyWOuE7P0jGf0mTQ%2Fimage.png?alt=media&#x26;token=7fa8ac6d-7e40-4791-afcd-8cefde96616a" alt=""><figcaption></figcaption></figure>

### Share the semantic model connection

1. Next to the name of the semantic model connection in your Fabric workspace, select **...** and **Manage users**.

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2F8ITOO0cJXp5nAMpPTQ5H%2Fimage.png?alt=media&#x26;token=e7618662-5648-42a2-8129-6e6d25beb49b" alt=""><figcaption></figcaption></figure>

2. Search the **name or email ID** of the users to share the semantic model connection.
3. Set the **access permission** as User, User with resharing, or Owner.
4. Select **Share** to share the connection.

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2FtvO3j1BmGM6OseIYvqMr%2Fimage.png?alt=media&#x26;token=0c5a9359-02d8-4da6-9b97-b081fd8b5215" alt=""><figcaption></figcaption></figure>

5. The semantic connection created is shared, which can be accessed by other users.

Other users can now use this shared connection to connect to the semantic model.

### Connect to a Direct Lake semantic model

If you want to connect to a Direct Lake semantic model, follow the steps below. These steps can be performed by admin or member users.

1. Next to the name of the semantic model in your Fabric workspace, select **... > Settings > Gateway & Cloud Connections**.

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2F0CcS8UkIuB3cH634UEYn%2Fimage.png?alt=media&#x26;token=5e6ad0c3-4715-4503-a5d2-656b740f7a45" alt=""><figcaption></figcaption></figure>

2. By default, the connection is set to **Single Sign On.** You can create and use a new connection.
3. Select **Create a connection** from the connection list.

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2FCdcHUMyt7iHkugqF3kcD%2Fimage.png?alt=media&#x26;token=18ecbf5b-ea88-43be-a47b-5d7b0deb74ba" alt=""><figcaption></figcaption></figure>

4. Enter the new **connection name, and** *OAuth 2.0* as the **authentication method.**
5. Select **create**.

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2FI0ks13kRKtxaJrbzFpfo%2Fimage.png?alt=media&#x26;token=1d6bcf2b-a181-4073-86ba-9efee54b979c" alt=""><figcaption></figcaption></figure>

6. Select the newly created direct lake semantic model connection from the list and **apply.**

<figure><img src="https://257222532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUtolck8kt8atqxFPsEBn%2Fuploads%2FsPI2uB35XPLJBIRJJoPb%2Fimage.png?alt=media&#x26;token=1e9b4177-77ed-4c58-8ae7-a776761dee10" alt=""><figcaption></figcaption></figure>

### Next steps <a href="#next-steps" id="next-steps"></a>

Now that your semantic model connection is created, you can create a Planning sheet that uses this connection: Create a [Planning sheet](https://docs.fabricplan.com/planning-sheets/how-tos/creating-a-planning-sheet).
