You can send SDK custom data to the [session metadata
file](https://docs.cloud.google.com/contact-center/ccai-platform/docs/crm-session-metadata), to a CRM record, or both, depending on your
requirements. This custom data can come from the [web
SDK](https://docs.cloud.google.com/contact-center/ccai-platform/docs/web-sdk#chat-unsigned-custom-data), the [Android
SDK](https://docs.cloud.google.com/contact-center/ccai-platform/docs/android-sdk-guide#send-custom-data-to-your-crm) or the [iOS
SDK](https://docs.cloud.google.com/contact-center/ccai-platform/docs/ios-sdk-guide#send-custom-data-to-your-crm). You can send custom data globally and at
the queue level.

## Send SDK custom data globally

To send SDK custom data globally, follow these steps:

1. In the CCAI Platform portal, click **Settings \> Operation
   Management** . If you don't see the **Settings** menu, click **Menu**.

2. Go to the **Data Parameters** pane.

3. Do one of the following, or both, depending on your requirements:

   - For **Send SDK custom data to session metadata file**, select the type
     of SDK custom data that you want to send to the session metadata file.

   - For **Send SDK custom data to CRM record**, select the type of SDK
     custom data that you want to send to a CRM record.

4. Click **Save Data Parameters**.

## Send SDK custom data at the queue level

To send SDK custom data at the queue level, follow these steps:

1. In the CCAI Platform portal, click **Settings \> Queue** . If you don't
   see the **Settings** menu, click
   **Menu**.

2. In the **Mobile** or **Web** pane (depending on your channel), click **Edit /
   View**.

3. Click the queue that you want to edit.

4. In the **Settings** pane, go to **SDK custom data settings** , and then click
   **Configure** . The **SDK Custom Data Settings** pane appears.

5. Do one of the following, or both, depending on your requirements:

   - For **Send SDK custom data to session metadata file**, select the type
     of SDK custom data that you want to send to the session metadata file.

   - For **Send SDK custom data to CRM record**, select the type of SDK
     custom data that you want to send to a CRM record.

6. Click **Save**.

## What's next

- [View session data in the agent adapter](https://docs.cloud.google.com/contact-center/ccai-platform/docs/session-data-agent-adapter)