# Accessing Private Models

Once you complete the installation and configuration steps, you can receive ā€œpublicā€ models from Speckle. To receive your private models, you need to complete authentication. There are two authentication methods:

  • Log in using your Speckle Account.
  • With a Personal Access Token.

# Log-in Using Your Speckle Account

You can now log in withĀ any account of any Speckle server. Hereā€™s how you do it:

  1. First, paste the URL of the private model you want to receive and click ā€œOKā€.
  2. Select theĀ ā€Server URLā€ option in the credentials pop-up. In our case, it is ā€œapp.speckle.systemsā€.
  3. Then press theĀ ā€Sign inā€ button. This will open a pop-up window prompting you to log into your account and allow the Power BI app to access your user data. This grantsĀ read-onlyĀ access, as recommended by Power BI guidelines.

Once the app has been granted access, Power BI will continue fetching the data.

# With a Personal Access Token

Another way of authenticating is with a ā€œPersonal Access Tokenā€. Tokens are a form of authentication to grant users secure access to their projects and models. Here is how you do it:

  1. Go to your profile on your Speckle server. Weā€™ll use Speckleā€™s free server: https://app.speckle.systems/profile
  2. Under Developer Settings, Create aĀ New Token.
  3. Give it a descriptive name (such as Power BI Connector), check every option under Scopes, and click Save.
  4. This will create a token for you. Make sure you copy it. It is the first and last time youā€™ll be able to see this token. Treat it as a Password, and do not share it with anyone.
  5. Go toĀ Power BI > Options and Settings > Data source settings.
  6. Go toĀ Global PermissionsĀ and select your Speckle server.
  7. After selecting a server, followĀ Edit Permissions > Edit > Private Model.Ā Paste yourĀ TokenĀ intoĀ Personal Access TokenĀ input.

Thatā€™s it! Now, Power BI will continue fetching your private data from the Speckle server.

šŸ“ŒIMPORTANT

Delete existing servers if you have trouble seeing your server under Data sources. Return to the Speckle Connector and try to receive the same model/version. Youā€™ll have the option to add it from there.