# 4  Steps to Integrate SDK

## 4  Steps to Integrate SDK

{% content-ref url="/pages/-LtcZb-3HCifGKO5K7Bh" %}
[Step 1: Create Datahub Account](/acc_reg.md)
{% endcontent-ref %}

\*\*\*

1. For the next step, please create a test user in Datahub. Follow [this link](https://userdatahub.com/create) to create a test DeviceToken. Please save this deviceToken, you will need it for SDK integration.
2. To help you with SDK integration, we published Demo apps for you. You can use them as an example for your project. :point\_right:[Demo app](/sdk-installation/demo-applications.md)

{% content-ref url="/pages/-LtbAMByB7qwNLWFdHzr" %}
[Step 2: SDK Installation](/sdk-installation/get-started.md)
{% endcontent-ref %}

You can test sdk integration using trip simulator in xCode and Android studio

\*\*\*

**Result:** after step 1 and 2 you are almost done with sdk integration. you already can drive and your trips will be available in datahub. The next two steps enable you to create devicetokens for all your app users and access statistics and trips.

\*\*\*

{% content-ref url="/pages/-LtiD8KUwoAK0Pny2jHy" %}
[Step 3: Register SDK users](/manage-service.md)
{% endcontent-ref %}

\*\*\*

You need step 4 only if you want to use our API to get trips, scoring, and statistics data to your app directly from our APIs. If you want to grab data and have your app worked only with your own API, please skip STEP 4, and complete this form :point\_right: [Platform integration](https://airtable.com/shrjLmYhxL6C6P8oq). we will do for you all the necessary settings.

{% content-ref url="/pages/-LvzxzRhXuxcUM6Te5fV" %}
[Step 4: Get Statistics, Scorings and Trip Data](/user-statistics-and-analytics/getstatistics.md)
{% endcontent-ref %}

## Description

| №     | Step                                                                                                                                                   | Description                                                                                                                                                                                         |
| ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **1** | Create Datahub [Account Registration](/acc_reg.md)                                                                                                     | [Register your company account in Datahub](https://docs.userdatahub.com) -> Register an app and products, then credentials for SDK Installation will be generated: `Instance ID` and `Instance Key` |
| 3     | <p><a href="/pages/-Ltcg7-HnUisG03DV4Pp">iOS SDK Installation </a></p><p></p><p><a href="/pages/-LtciezWgWzbv9hUS_1v">Android SDK Installation</a></p> | <p>Guidelines to install SDK.<br>It is a simple process that will not take more than 40 min.</p><p></p>                                                                                             |
| 3     | Register SDK users                                                                                                                                     | Register all your app users on your platform and store a unique devicetoken against a user record in your database.                                                                                 |
| **5** | [Get data via API](/user-statistics-and-analytics/getstatistics.md)                                                                                    | Get telematics data and user statistics via API to keep it on your side and carry out your own further analysis                                                                                     |

## Introduction

Before you start, we would like to introduce our SDK and the main components of our product.

![](/files/-LuNwBEpcGYMPpagkDZZ)

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-old.telematicssdk.com/5-steps-to-integrate-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
