Step 1: Access Meta Business Manager
Navigate to Meta Business Manager.
From the left-side navigation menu, select your Business Portfolio from the drop down.
Step 2: Create an Application
In the left-side menu, click Settings.
Under Settings, navigate to Accounts > Apps.
In the top-right corner of the screen, click the + Add button.
In the What do you want to do modal window:
Click Create a new app ID.
On the Create an app screen:
Enter an App Name.
Enter your contact email address
Click Next
On the Add use cases screen:
Select Run Ads to promote your app.
Enter your contact email address
Click Next
On the Which business portfolio do you want to connect to this app? screen:
Select Your desired business portfolio to which the app will be associated.
Click Next
Go to Dashboard
Step 3: Create a Dataset
Return to Business Manger Home
Select Events Manager From the left side navigation
Select your newly created application from the on screen list of applications.
Select settings from the top menu
In the linking section of the settings page, select link
In the introducing datasets modal window, select next
In the Create the Dataset modal window, select Create new
In the Confirm dataset creation, modal window accept the terms and click Create
Step 4. Generate Credentials
Return to Business Manager Home
Select Data Sources
Select Your newly created dataset it will have the same name as your application
Select settings from the top menu
Scroll to the conversions api section of the page
Click Generate Access Token
Copy the token and store
Scroll to the top of the page
Copy the Dataset ID and store