Setup the SDK

To setup the SDK you will have to create a token from the dashboard.

Click on the settings icon on the top-right and create an API Key specifying the permissions

Then you will have to initialize the SDK with the token created, depending if you are using iOS or Android, as you can see in the following step.

import MBurger


func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    MBManager.shared().apiToken = "YOUR_API_TOKEN"
    return true

Last updated