Integrating the Distil SDK with Your Application

Integrating the Distil SDK is a simple four-step process:

  1. Request the SDK 
  2. Install the SDK
  3. Test the SDK
  4. Release Your App

Request the SDK

Request the Distil SDK from your account executive. We build each instance specific to each customer.

You’ll receive a .ZIP file that includes:

  • Detailed instructions regarding how to integrate the SDK into your application
  • The library to use within your application

Install the SDK

After receiving the Distil SDK, follow the detailed instructions regarding how to integrate it with your application. The instructions are specific to your account and the OS (Android, iOS) of the app you're developing.

You must also add the delivered binaries of the Distil SDK as a library in your application. Once initialized, the library is called by every HTTP request to your protected API.

SDK Interface

Once the SDK library is included with the app, you must ensure that:

  • The SDK init() function is called at application startup.
  • A token returned from the getToken() function is added as an argument to each HTTP request made to the API endpoint.

Test the SDK

After the installation of the Distil SDK, test your application using your normal testing scenarios.

Release Your App

With the Distil SDK now fully integrated and all functionality tested, release your app by publishing it to its respective app store.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request