Integrate SDK
Import
Import the DENTGigastoreSDK
into your file.
import DENTGigastoreSDK
Load
The load
method initializes the DENT SDK. Please make sure to include your "SDK Key" here. You can find your SDK Key in the DENT Gigastore under "SDK -> iOS -> Sales Channel".
let sdkKey = "SDK KEY"
Gigastore.load(withSDKKey: sdkKey)
Set UserToken
Please use an identifier from your system. You can e.g. use a self-signed JSON Web Token (JWT) as the userToken
. That way you are able to verify the requesting device on your server when receiving the activation request webhook from DENT.
let userToken = "USER_TOKEN_1234567"
Gigastore.setUserToken(userToken: userToken)
Last updated
Was this helpful?