# Integration (FAQ)

## How do I know if the integration was successful?

We always suggest that our clients collect data from as many users as possible for at least a few days and then compare it with our Insights app for ground truth. When the timelines in your app and Journeys look the same, you can be fairly confident that the integration was successful. For more detailed steps, look [here](https://docs.sentiance.com/guide/verifying-your-integration).

## **How can I test if user linking works for my app**?

You can find all the steps required to set up user linking [here](/important-topics/user-registration.md). After you have received a success callback, you can start testing it with real devices. We suggest to:

* [ ] Install the app with the Sentiance SDK
* [ ] Make an account
* [ ] Send at least one stationary and one trip
* [ ] Reinstall the app on the same device
* [ ] Log in to the same account
* [ ] Send at least one stationary and one trip
* [ ] Check the timeline of the user to see if they show data for both installs

It is recommended to do this for both iOS and Android and to perform multiple installs on multiple devices. When all of these are successful, you can be fairly confident user linking was successful.

## How do logout the User?

Once a User is generated, it's stored within the device. There are three cases where Sentiance User can be logged out from the device. The cases are:

1. Resetting the SDK (calling reset()).
2. Deleting the cache from the app settings.
3. Uninstalling and installing the app again.


---

# 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.sentiance.com/a-complete-integration/integration.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.
