This topic provides the integration process for using Meta Horizon platform solutions, how to configure your development environment, and how to implement the required components to use platform features.
The steps described on this page are required for publishing an app on the Meta Horizon Store. All other feature integrations described in the developer guide are optional.
Before you can integrate any portion of the Platform SDK, you need to create an app. The steps below walk you through registering your application in the Developer Dashboard. For instructions on managing your app after creation, see Creating and Managing Apps.
Click Create a new app. This will open the Create a New App window.
In the Create a New App window, enter an app name.
Select the platform for the type of app you’re creating: Link PC VR or Meta Horizon Store.
Click Create.
Once your app is created, navigate to the API section of the Developer Dashboard.
Locate and copy the value of the App ID. Save it for use in later steps.
Download the SDK
If you completed all the steps in set up your Unity project for development, you should already have the Platform SDK installed in your project. If not, follow these steps:
In the Unity Editor menu, select Window > Package Management > Package Manager.
Select My Assets in the Package Manager window. The Meta XR Platform SDK should appear.
Select the Meta XR Platform SDK and click Install.
After the Platform SDK installation completes, go to Meta > Platform > Edit Settings in the menu. The Inspector displays Oculus Platform Settings.
Enter the App ID you saved from the Developer Dashboard in the appropriate field as follows:
If you created a Link PC VR app, enter your App ID in the Oculus Rift field.
If you created a Meta Horizon Store app, enter your App ID in the Meta Quest/2/Pro field.
Set up your environment
Complete the Get Set Up for Platform Development to prepare your development environment, initialize the platform, and check user entitlement.
Platform basics
Before you start integrating, there are two concepts that you should familiarize yourself with:
Server-to-Server API Basics
Some platform features use server-to-server (S2S) REST API calls to perform actions not appropriate to be sent from client devices. These APIs are provided to ensure a secure interaction between your back-end servers and the Meta Horizon platform.
Platform Intro: See a complete list of Meta Horizon platform features.
Meta Horizon Store version verification
Only app versions distributed through the Store can access Meta Horizon platform features like Friends, Leaderboards, Matchmaking, and Achievements.
Keep the following in mind when using Meta Horizon platform features:
To use platform features, applications require an access token.
For regular users, access tokens are only granted for official versions of an app acquired from the Store.
For developers and testers of an app, you can still use Meta Horizon platform solutions for sideloaded versions of your app provided your account is associated with the developer organization that owns the app.