{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"通过生成 Jamerly API Key 并设置本地代码仓库路径，将 Code Formula 连接到您的工作区。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"1. 生成您的 Code Formula API Key"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"首先，登录 "},{"type":"element","tagName":"a","properties":{"href":"https://www.jamerly.ai/"},"children":[{"type":"text","value":"Jamerly 全球门户"}]},{"type":"text","value":"。点击右上角的个人头像，然后选择 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Console"}]},{"type":"text","value":" (控制台)。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/docs/quick-start/connect-repo/console_menu.png","alt":"Navigate to Console"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"进入控制台后，从左侧边栏中选择 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"API Keys"}]},{"type":"text","value":"，然后点击 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"+ Create API Key"}]},{"type":"text","value":" 按钮。复制生成的 API Key，以备下一步使用。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/docs/quick-start/connect-repo/api_keys.png","alt":"Create Jamerly API Key"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"hr","properties":{},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"2. 在 cf-web 中配置工作区与 API Key"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"打开本地的 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"cf-web"}]},{"type":"text","value":" Dashboard 控制台（通过双击桌面快捷方式或在浏览器中访问 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"http://localhost:9730"}]},{"type":"text","value":"）。点击左下角边栏的 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Settings"}]},{"type":"text","value":" (设置)。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"在 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Workspace & Core Settings"}]},{"type":"text","value":" (工作区与核心参数) 卡片下，填入您的本地工作区路径（即所有 Git 仓库所在的本地父目录，例如 "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"/data/code"}]},{"type":"text","value":"），并粘贴刚才复制的 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"CF Server API Key"}]},{"type":"text","value":"。点击 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Save Parameters"}]},{"type":"text","value":" (保存核心参数) 保存配置。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/docs/quick-start/connect-repo/cf_workspace_settings_zh.png","alt":"Configure Workspace and API Key"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"hr","properties":{},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"3. 配置 Git 代码平台集成"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"为了能够顺利拉取和同步代码仓库，请导航至设置子菜单中的 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Code Forges (Git)"}]},{"type":"text","value":"。填写您的 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"GitLab Base URL"}]},{"type":"text","value":" 以及 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Access Token"}]},{"type":"text","value":" (PAT)，最后点击 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Save GitLab Configuration"}]},{"type":"text","value":" (保存 GitLab 配置)。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/docs/quick-start/connect-repo/git_forge_settings_zh.png","alt":"Configure GitLab in Code Forges"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"hr","properties":{},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"h3","properties":{},"children":[{"type":"text","value":"4. 创建项目并绑定代码仓库"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"导航至 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Project Management"}]},{"type":"text","value":" (项目管理) 页面。若是首次配置，点击页面中央蓝色的 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"+ Create First Project"}]},{"type":"text","value":" (创建第一个项目) 按钮；若已经有项目，可点击右上角的三点菜单，选择 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"New Project"}]},{"type":"text","value":" (新建项目)。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/docs/quick-start/connect-repo/project_empty_state_zh.png","alt":"Create Your First Project"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"在创建引导向导中，输入您期望的 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Project Name"}]},{"type":"text","value":" (项目名称)，然后点击 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Next"}]},{"type":"text","value":"。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/docs/quick-start/connect-repo/new_project_step1_zh.png","alt":"Enter Project Name"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"根据您的实际环境选择代码来源：选择 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Local Import"}]},{"type":"text","value":" (本地导入) 以绑定工作区中已存在的本地 Git 仓库，或者选择 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Bind via Git"}]},{"type":"text","value":" (从 Git 绑定) 直接从 GitLab/GitHub 云端克隆仓库。最后点击 "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Finish"}]},{"type":"text","value":" (完成创建) 即可创建项目。"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"img","properties":{"src":"/docs/quick-start/connect-repo/new_project_step2_zh.png","alt":"Select Code Source"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"blockquote","properties":{"data-alert":"tip"},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"💡 下一步：项目绑定并完成代码仓库首次扫描后，您就可以发起首次自动修复了。请前往“首次自动修复”标签页！"}]},{"type":"text","value":"\n"}]}]}