# 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:
- First, paste the URL of the private model you want to receive and click āOKā.
- Select theĀ āServer URLā option in the credentials pop-up. In our case, it is āSpeckle.xyzā.
- 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:
- Go to your profile on your Speckle server. Weāll use Speckleās free server: https://speckle.xyz/profile
- Under Developer Settings, Create aĀ
New Token
. - Give it a descriptive name (such as Power BI Connector), check every option under Scopes, and click
Save
. - 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.
- Go toĀ Power BI > Options and Settings > Data source settings.
- Go toĀ Global PermissionsĀ and select your Speckle server.
- 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.
ā Configuration Uninstallation ā