安装Trae

首先进入Trae官网(https://www.trae.cn/)点击右下角 下载TRAE IDE
notion image
下载好以后双击打开安装包,选择我同意此协议,点击下一步
notion image
安装位置默认,点击下一步
notion image
开始菜单文件夹默认,点击下一步
notion image
默认,点击下一步
notion image
点击下一步
notion image
等待安装完成
notion image
点击完成
notion image
打开Trae后点击开始
notion image
选择一个你喜欢的主题,点击下一步
notion image
默认
notion image
点击跳过
notion image
点击个人用户,登录一下账户
notion image

获取Token

首先打开DeepSeek官网(https://www.deepseek.com/),点击API开放平台,登录你的DeepSeek账户
notion image
在开放平台点击充值
notion image
选择充值金额(可以自定义),然后选择支付方式,最后点击去支付
notion image
点击API keys
notion image
点击创建 API key
notion image
随便输入一个名称
notion image
复制API key 注意:一定要保护好API key,如果API key泄露请立即删除!
notion image
打开Trae的设置,点击模型,点击添加自定义模型
notion image
服务商选择DeepSeek 模型按照你的喜好选择,然后填写你的API秘钥,最后点击添加模型
notion image
在Trae的AI聊天框内关闭 Auto Mode
notion image
向下滑,找到自定义模型
notion image
点击刚才添加的自定义模型就可以聊天了