---
title: Add the Tenjin SDK
description: "Does your app page show **Attribution** and **Callbacks** tabs? You're on the **Legacy view**. Expand **Legacy view steps** at the bottom of this page, or [switch to the Modern view](https://tenjin.com/docs/manage-user/#channel-setup-interface). After you [add your app](https://tenjin.com/docs/add-apps/), **Integrate the SDK for {app…"
url: "https://tenjin.com/ja/docs/add-the-tenjin-sdk/"
updated: "2026-12-02"
category: Getting Started
---

# Add the Tenjin SDK

Does your app page show **Attribution** and **Callbacks** tabs? You're on the **Legacy view**. Expand **Legacy view steps** at the bottom of this page, or [switch to the Modern view](https://tenjin.com/docs/manage-user/#channel-setup-interface).

After you [add your app](https://tenjin.com/docs/add-apps/), **Integrate the SDK for {app name}** opens. It takes you through three steps: install the SDK, register a test device, and receive your first events.

You can open it again any time from **Integrate SDK** on the [Apps](https://www.tenjin.com/dashboard/apps) list, or from the **Integrate SDK** button next to an SDK key on the app's **SDK** tab.

![Integrate the SDK window](https://tenjin.com/wp-content/uploads/2026/12/03-sdk-setup-window.png)

## 1. Install the SDK

Choose one of three ways to install:

### Tenjin CLI (recommended)

A guided setup in your terminal. Install the CLI with Homebrew, the shell script or PowerShell, then run it from your app's project folder:

`brew install tenjin/tap/tenjin`
`tenjin setup`

The CLI:

- Finds your app in Tenjin by its bundle ID
- Fetches your SDK key and checks it
- Adds the SDK with Claude Code or Codex, or shows you what to add
- Checks the integration and verifies a launch on your device or simulator

It works with native iOS and Android, Flutter, React Native, Capacitor and Unity. Run `tenjin doctor` to check an existing integration. [CLI docs and other install options →](https://github.com/tenjin/tenjin-cli)

### Coding agent

Copy the prompt shown and paste it into Claude Code, Cursor or Codex. The agent adds the SDK using Tenjin's integration guide for your platform. You then add the SDK key and test a launch yourself.

### Manual

Integrate the SDK yourself. Pick your platform (iOS, Android, Unity, React Native, Ionic Capacitor or Flutter) to see the code that starts the SDK. The SDK key is hidden on screen, and the copy button copies the code with your real key in it. For permissions, dependencies and other features, follow the full guide for your platform:

- [iOS SDK](https://tenjin.com/docs/mmp-sdk-ios/)
- [Android SDK](https://tenjin.com/docs/mmp-sdk-android/)
- [Unity SDK](https://tenjin.com/docs/mmp-unity-sdk/)
- [Other plugins](https://tenjin.com/docs/other-plugins/) (React Native, Flutter, Capacitor and more)
- [Server-to-Server (S2S)](https://tenjin.com/docs/server-to-server-s2s-setup/), if you don't use an SDK

## 2. Register a test device

Enter a name for your test device and its advertising ID: on iOS, choose **IDFA** or **IDFV**; on Android, use the GAID. Click **Register device**. Events from test devices are sandboxed and not included in reports.

## 3. Receive events

Launch your app on the test device. Events appear within seconds, and the step confirms when events have been received.

![Receive events with an install received](https://tenjin.com/wp-content/uploads/2026/12/04-sdk-test-device-events.png)

### Next: integrate your channels

In the Modern view, click **Integrate Channels** at the bottom of the window to set up your ad networks. See [Integrate Channels and Postbacks](https://tenjin.com/docs/integrate-channels-and-postbacks/). If you click **Skip for now**, nothing is lost: the same steps are on the app's **SDK** tab.

Until your app sends its first events, a banner at the top of the app's pages reminds you to integrate the SDK, and the **SDK** tab shows a small alert icon. You can close the banner with the **✕**.

---

## Check your integration later

Open your app from CONFIGURE > [Apps](https://www.tenjin.com/dashboard/apps) and click the **SDK** tab to check your integration any time. It has three sections:

- **SDK Keys:** Each app can have up to three SDK keys. Keys are hidden: click the eye icon to show a key or the copy icon to copy it. **Integrate SDK** next to a key opens the install step with that key filled in (it reads **Update SDK** once the key is in use). Use **Generate SDK Key** below the table to add a key. You can also rename or revoke a key. The card shows **Not configured** until one of the keys has been used by the SDK.
- **Test Sandbox:** Register a test device and watch its events arrive. It shows **Events not yet received** until the first install comes in.
- **Integration Status:** The events Tenjin has received from each app version. See [Check SDK Status](https://tenjin.com/docs/check-sdk-status/).

![SDK tab](https://tenjin.com/wp-content/uploads/2026/12/06-sdk-tab.png)

---

 **Legacy view steps** – click to expand

Open your app from CONFIGURE > [Apps](https://www.tenjin.com/dashboard/apps) and click the **SDK** tab. Copy your SDK key with the **Copy** button and follow the integration guide for your platform (links above), or use the Tenjin CLI:

`brew install tenjin/tap/tenjin`
`tenjin setup`

To test, register your device under DIAGNOSE > **Test Devices** and watch your events in the **Live Event Tool**. See [Check SDK Status](https://tenjin.com/docs/check-sdk-status/).
