> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adrop.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

> Easily integrate the ad SDK with AI coding tools

## Introduction

[Claude Code](https://claude.ai/claude-code) is an AI coding assistant that runs in your terminal.
It can automatically implement SDK integration by referencing the Adrop Help Center URL.

<Note>
  Copy the sample prompts below and just replace **App Key** and **Unit ID** to get started.
</Note>

***

## Getting Started

### 1. Install Claude Code

```bash theme={null}
npm install -g @anthropic-ai/claude-code
```

### 2. Run in your project folder

```bash theme={null}
cd your-project
claude
```

### 3. Enter a prompt

Copy and use the sample prompts below.

***

## Sample Prompts

<Tabs>
  <Tab title="Android">
    ### Banner Ad

    ```
    Refer to https://docs.adrop.io/sdk/android/banner
    Add a banner ad at the bottom of MainActivity.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Native Ad

    ```
    Refer to https://docs.adrop.io/sdk/android/native
    Add native ads between RecyclerView feed items.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Interstitial Ad

    ```
    Refer to https://docs.adrop.io/sdk/android/interstitial
    Show an interstitial ad during screen transitions.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Rewarded Ad

    ```
    Refer to https://docs.adrop.io/sdk/android/rewarded
    Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```
  </Tab>

  <Tab title="iOS">
    ### Banner Ad

    ```
    Refer to https://docs.adrop.io/sdk/ios/banner
    Add a banner ad at the bottom of ViewController.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Native Ad

    ```
    Refer to https://docs.adrop.io/sdk/ios/native
    Add native ads between TableView feed items.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Interstitial Ad

    ```
    Refer to https://docs.adrop.io/sdk/ios/interstitial
    Show an interstitial ad during screen transitions.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Rewarded Ad

    ```
    Refer to https://docs.adrop.io/sdk/ios/rewarded
    Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```
  </Tab>

  <Tab title="Flutter">
    ### Banner Ad

    ```
    Refer to https://docs.adrop.io/sdk/flutter/banner
    Add a banner ad widget at the bottom of the screen.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Native Ad

    ```
    Refer to https://docs.adrop.io/sdk/flutter/native
    Add native ads between ListView feed items.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Interstitial Ad

    ```
    Refer to https://docs.adrop.io/sdk/flutter/interstitial
    Show an interstitial ad during screen transitions.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Rewarded Ad

    ```
    Refer to https://docs.adrop.io/sdk/flutter/rewarded
    Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```
  </Tab>

  <Tab title="React Native">
    ### Banner Ad

    ```
    Refer to https://docs.adrop.io/sdk/react-native/banner
    Add a banner ad component at the bottom of the screen.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Native Ad

    ```
    Refer to https://docs.adrop.io/sdk/react-native/native
    Add native ads between FlatList feed items.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Interstitial Ad

    ```
    Refer to https://docs.adrop.io/sdk/react-native/interstitial
    Show an interstitial ad during screen transitions.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Rewarded Ad

    ```
    Refer to https://docs.adrop.io/sdk/react-native/rewarded
    Show a rewarded ad when the reward button is clicked, and grant 100 coins on completion.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```
  </Tab>

  <Tab title="Web">
    ### Banner Ad (React)

    ```
    Refer to https://docs.adrop.io/sdk/web/react
    Add a banner ad component at the bottom of the page.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Banner Ad (CDN)

    ```
    Refer to https://docs.adrop.io/sdk/web/banner
    Add a banner ad at the bottom of the page.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```

    ### Native Ad

    ```
    Refer to https://docs.adrop.io/sdk/web/native
    Add native ads between content feed items.

    App Key: YOUR_APP_KEY
    Unit ID: YOUR_UNIT_ID
    ```
  </Tab>
</Tabs>

***

## Tips

<Note>
  **Be specific about placement**

  Instead of "at the bottom of MainActivity", try "inside the ConstraintLayout in activity\_main.xml, aligned to the bottom" for more accurate implementation.
</Note>

<Note>
  **Where to find App Key and Unit ID**

  * **App Key**: [Console](https://console.adrop.io) → Settings → App
  * **Unit ID**: [Console](https://console.adrop.io) → Ad Units
</Note>

<Note>
  **Try with test keys first**

  You can find test App Keys and Unit IDs in the Test Environment section of the [Prerequisites](/sdk/overview) page.
</Note>
