# Tenjin

## Integration

1. &#x20;Log in to Tenjin.
2. &#x20;Go to the **Apps** section in the top menu.

![](https://www.devtodev.com/upload/images/tenjin1.png)

3. Add your app or edit an already existing app.

![](https://www.devtodev.com/upload/images/tenjin2.png)

4. Add a new callback.&#x20;

![](https://www.devtodev.com/upload/images/tenjin3.png)

5. Select devtodev.

![](https://www.devtodev.com/upload/images/tenjin5.png)

6. In devtodev, open the application that you are configuring. Open Settings -> 3rd party sources -> Attribution tracking, turn on the toggle switch on Tenjin panel and copy devtodev API Key from the panel.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2F2usvSqhGIFwQQEQDTvyH%2Fimage.png?alt=media&#x26;token=904db0e6-3ca1-4c4c-aa26-7966e03e4a17" alt=""><figcaption></figcaption></figure>

7. In Tenjin, enter API Key in the new callback form.
8. Save the callback.&#x20;

### CPI data integration <a href="#cpi-data-integration" id="cpi-data-integration"></a>

devtodev allows our customers to query CPI data from Tenjin via API in order to get more accurate install costs.

Check the `Enable receiving CPI info by Tenjin API` box and fill in the form to switch on CPI data collection.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2F0e6WWYAVirGtCsPa7dgV%2Fimage.png?alt=media&#x26;token=34402ea1-1a10-44cf-ba20-306e54c20583" alt=""><figcaption></figcaption></figure>
