DENT Gigastore Documentation
  • Introduction
  • Start with Gigastore
    • Create an Account
    • Add Credits
    • Configure Inventory
    • Set Up Auto Top-Up for Credits
  • Technical Integration
    • API Integration
    • SDK Integration
  • API
    • Getting started
    • Open API Specification
    • Postman Collection
    • API Authentification
    • Offering Packages
    • Countries API
    • Supported Devices API
    • Customers
    • First Package
    • eSIM Profiles
    • Top-up
    • Package Refund
    • Error Handling
  • Webhooks
    • First Steps
    • eSIM Status
    • Balance Alert
    • Country Change
  • iOS SDK
    • First Steps
    • Download SDK
    • Enable Direct Installation
    • iOS Universal Link
    • Integrate SDK
    • Prepare eSIM Installation
    • Install eSIM
  • Android SDK
    • First Steps
    • Download SDK
    • Enable Direct Installation
    • Integrate SDK
    • Prepare eSIM Installation
    • Install eSIM
    • Testing
  • SDK Webhooks
    • Activation Request
    • Customer Registration
  • Guidelines
    • UX Guide
  • Customer support
    • Gigastore for Support Teams
    • Connectivity
    • Changing Device
    • Package Refund
Powered by GitBook
On this page
  • Import
  • Load
  • Set UserToken​

Was this helpful?

  1. iOS SDK

Integrate SDK

PreviousiOS Universal LinkNextPrepare eSIM Installation

Last updated 1 year ago

Was this helpful?

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 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)

This parameter will be provided in the to enable your server to check if the user is eligible to activate an eSIM. This parameter will not be stored on our servers.

DENT Gigastore
ActivationRequest Webhook