> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.rto.ai/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 如何生成Criteo的client_id和client_secret？

在 Convbox 中添加 Criteo 的 `client_id` 和 `client_secret`，即可将 Criteo 广告效果数据同步至 Convbox 归因看板，实现更全面的投放分析。


# 操作步骤

1. **登录 Criteo Partner Portal**
访问 [Criteo Partner Portal](https://partners.criteo.com)，点击 **Start building**。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_1ukmegk.png =900x352)
*&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;&#32;若已创建过应用，直接点击&#160;**Create a new app**&#160;即可。*
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_1fm2unx.png =900x340)


2. **填写应用信息**
在 **App details** 中，输入应用名称（建议：`Convbox Analytics`），点击 **Next**。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_cmiixc.png =900x418)


3. **选择授权方式**
选择 **Client credentials**，点击 **Next**。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_1fxdefo.png)

4. **指定服务**
在 **Service** 中选择 **Commerce Growth**，点击 **Next**。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_1u7aojo.png =900x428)

5. **设置权限**
在 **Authorizations** 页面，将所有权限勾选为 **Read**（只读），点击 **Next**。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_yu14ca.png =900x472)

6. **确认激活**
在弹出的确认弹窗中，点击 **Activate**。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_199krzj.png =600x374)

7. **生成 Consent URL**
在 **Application details** 页面，点击 **Create new consent URL**，然后复制生成的链接。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_1n0829w.png =800x266)
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_n5qx48.png =800x463)



8. **授权广告账号**
打开新浏览器窗口，粘贴复制的 Consent URL 并访问。在 **Access request** 页面，勾选需要授权的广告账号，点击 **Approve**。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_1toymyg.png =800x588)

9. **检查授权结果**
在 **Consent dashboard**页面中，检查授权是否完成
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_6lvlz0.png =800x285)

10. **下载 API Key**
点击[此处](https://partners.criteo.com/)返回 **Application details** 页面，点击 **Create new key**，系统会自动下载一个 API Key 文件。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/e7279bf25357176ad5f985820caee4_10k45j0.png =1200x628)



11. **提取凭证**
打开下载的文件，其中包含 `client_id` 和 `client_secret`。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_1ml2pvk.png =700x197)

12. **完成集成**
将上述 `client_id` 和 `client_secret` 填入 Convbox 对应字段，点击 **Confirm** 即可。
![](https://storage.crisp.chat/users/helpdesk/website/-/b/f/9/2/bf925fddbcd2e800/image_aqjq50.png =500x463)
