diff --git a/product/admin/functions-create.mdx b/product/admin/functions-create.mdx index 5214bcf2..35db210e 100644 --- a/product/admin/functions-create.mdx +++ b/product/admin/functions-create.mdx @@ -14,11 +14,11 @@ sidebarTitle: "Create and test functions" This guide walks you through creating your first function, from a simple "hello world" to accessing C1 data and calling external APIs. -## Use the copilot to write function code +## Use C1AI to write function code -Not sure where to start with TypeScript or the C1 API? The built-in AI code assistant can generate a working function from a plain-language description of what you want it to do — no TypeScript expertise required. Since functions start as drafts, you can try out the generated code, run it, and iterate safely before publishing. +Not sure where to start with TypeScript or the C1 API? C1AI can generate a working function from a plain-language description of what you want it to do — no TypeScript expertise required. Since functions start as drafts, you can try out the generated code, run it, and iterate safely before publishing. -To get started, click **Create with AI** when creating a new function, or click **Edit with AI** in the code editor of an existing function draft. Describe what you want your function to do, and the AI assistant will generate code to get you started. You can then edit the code as needed, run it with test inputs, and publish when you're ready. +To get started, click **Create with Functions assistant** when creating a new function, or click **Edit with Functions assistant** in the code editor of an existing function draft. Describe what you want your function to do, and C1AI will generate code to get you started. You can then edit the code as needed, run it with test inputs, and publish when you're ready. ## Step 1: Set up a new function