Demo the Asset Token Flow
For a quick demo of asset tokens, you can use the Asset Token Explorer demo app. The demo app simplifies your initial experience of getting an access token and exchanging it for the asset token.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: All Editions |
| User Permissions Needed | |
|---|---|
| To manage, create, edit, and delete OAuth apps: | Manage Connected Apps |
Note Connected apps creation is restricted as of Spring ‘26. You can continue to use existing
connected apps during and after Spring ‘26. However, we recommend using external client apps instead. If you must continue
creating connected apps, contact Salesforce Support.
See New connected apps can no longer be created in Spring ‘26 for more details.
Note We don’t recommend using this demo app in an actual implementation.
- In a browser, go to https://asset-tokens.herokuapp.com/.
- Enter your My Domain login URL or Experience Cloud site URL. Then click Validate URL to initiate OAuth authorization.
- For OAuth client ID, provide the consumer key from your connected app.
-
For OAuth client secret, provide the consumer secret from your connected app.
Note To access the consumer key and consumer secret, from the App Manager, find the connected app and select View from the dropdown. Then click Manage Consumer Details. You're sometimes prompted to verify your identity before you can view the consumer key and consumer secret. - Click Validate App Credentials.
- Click Login to your Experience Cloud site.
- Log in to your Experience Cloud site as a customer.
- Approve your connected app.
- Click Exchange Authorization Code for an access token.
Request the Asset Token
If you’re using the Asset Token Explorer demo app to request the asset token, follow these steps.
- If your access token is expired, request a new one.
- Review the sample data that is automatically filled in for your asset token request. Feel free to modify it. In an actual implementation, the asset’s metadata become the claims in your actor token.
- Click Build Actor Token.
- Review the resulting actor token with your data transformed into the actor token claims.
- Click Next.
- Review the protocol for exchanging your actor token and access token for an asset token.
- Click Next.
Did this article solve your issue?
Let us know so we can improve!

