Pasos
Presente instrucciones ordenadas en pasos claros y numerados para que los lectores puedan seguir un proceso de principio a fin.
How to use
How to use
How to use
En el editor de texto del lienzo, escriba “/steps_cms ” y elija Steps_CMS en el menú de inserción.
Create a Project
Sign in to the NovaAI Dashboard and create your first project. Every API request is associated with a project, allowing you to manage API keys, monitor usage, and configure billing independently. After creating a project, generate a new API key from the API Keys section.
Create a Project
Sign in to the NovaAI Dashboard and create your first project. Every API request is associated with a project, allowing you to manage API keys, monitor usage, and configure billing independently. After creating a project, generate a new API key from the API Keys section.
Install the SDK
Install the official NovaAI SDK using your preferred package manager.
npm install @novaai/sdkInstall the SDK
Install the official NovaAI SDK using your preferred package manager.
npm install @novaai/sdkConfigure Your API Key
Store your API key as an environment variable instead of hardcoding it into your application.
NOVA_API_KEY=your_api_key_hereConfigure Your API Key
Store your API key as an environment variable instead of hardcoding it into your application.
NOVA_API_KEY=your_api_key_hereSend Your First Request
Create a new file and initialize the NovaAI client.
1import { NovaAI } from "@novaai/sdk";2 3const client = new NovaAI({4 apiKey: process.env.NOVA_API_KEY,5});6 7const response = await client.chat.create({8 model: "nova-chat-4",9 messages: [10 {11 role: "user",12 content: "Explain what an API is in one sentence."13 }14 ]15});16 17console.log(response.output);If the request is successful, the API returns a structured response containing the generated output and metadata.
Send Your First Request
Create a new file and initialize the NovaAI client.
1import { NovaAI } from "@novaai/sdk";2 3const client = new NovaAI({4 apiKey: process.env.NOVA_API_KEY,5});6 7const response = await client.chat.create({8 model: "nova-chat-4",9 messages: [10 {11 role: "user",12 content: "Explain what an API is in one sentence."13 }14 ]15});16 17console.log(response.output);If the request is successful, the API returns a structured response containing the generated output and metadata.