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.

1

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.

1

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.

2

Install the SDK

Install the official NovaAI SDK using your preferred package manager.

npm install @novaai/sdk
2

Install the SDK

Install the official NovaAI SDK using your preferred package manager.

npm install @novaai/sdk
3

Configure Your API Key

Store your API key as an environment variable instead of hardcoding it into your application.

NOVA_API_KEY=your_api_key_here
3

Configure Your API Key

Store your API key as an environment variable instead of hardcoding it into your application.

NOVA_API_KEY=your_api_key_here
4

Send Your First Request

Create a new file and initialize the NovaAI client.

import { NovaAI } from "@novaai/sdk";
 
const client = new NovaAI({
apiKey: process.env.NOVA_API_KEY,
});
 
const response = await client.chat.create({
model: "nova-chat-4",
messages: [
{
role: "user",
content: "Explain what an API is in one sentence."
}
]
});
 
console.log(response.output);

If the request is successful, the API returns a structured response containing the generated output and metadata.

4

Send Your First Request

Create a new file and initialize the NovaAI client.

import { NovaAI } from "@novaai/sdk";
 
const client = new NovaAI({
apiKey: process.env.NOVA_API_KEY,
});
 
const response = await client.chat.create({
model: "nova-chat-4",
messages: [
{
role: "user",
content: "Explain what an API is in one sentence."
}
]
});
 
console.log(response.output);

If the request is successful, the API returns a structured response containing the generated output and metadata.

¿Te resultó útil?

¿Te resultó útil?

Create a free website with Framer, the website builder loved by startups, designers and agencies.