Primeros pasos

Instalación

Instala el SDK oficial de NovaAI para tu lenguaje de programación preferido y prepara tu entorno de desarrollo. Esta guía cubre los requisitos del sistema, los SDK compatibles, la instalación de paquetes, la configuración del entorno y la verificación antes de realizar tu primera solicitud de API.

System Requirements

Before installing NovaAI, ensure your development environment meets the minimum requirements.

Requirement

Version

Node.js

18+

Python

3.10+

Go

1.21+

PHP

8.2+

Java

17+

Internet Connection

Required

Note: NovaAI officially supports the latest stable versions of each runtime. Older versions may work but are not actively maintained.

Note: NovaAI officially supports the latest stable versions of each runtime. Older versions may work but are not actively maintained.

Supported SDKs

NovaAI provides official SDKs for the most commonly used programming languages. Every SDK follows the same API design, making it easy to switch between languages.

Language

Package

Status

JavaScript

@novaai/sdk

Stable

Python

novaai

Stable

Go

github.com/novaai/go-sdk

Stable

PHP

novaai/sdk

Stable

Java

com.novaai.sdk

Beta

Choose Your Package Manager

Install the NovaAI SDK using your preferred package manager.

npm install @novaai/sdk

Use the package manager that matches the rest of your project to keep dependency management consistent.

Use the package manager that matches the rest of your project to keep dependency management consistent.

Verify Installation

After installing the SDK, verify that the package is available in your project.

import { NovaAI } from "@novaai/sdk";
 
console.log("NovaAI SDK installed successfully.");

Project Structure

A typical NovaAI project might follow the structure below.

Rendering diagram…

Keeping your project organized makes it easier to manage API integrations as your application grows.

Environment Configuration

NovaAI uses environment variables to securely store credentials and configuration values.

Create a .env file in your project root.

NOVA_API_KEY=your_api_key_here
NOVA_PROJECT_ID=your_project_id

Variable

Required

Description

NOVA_API_KEY

Yes

Authenticates requests to NovaAI.

NOVA_PROJECT_ID

Optional

Associates requests with a specific project.

Never commit your .env file or API keys to a public repository. Add the file to your .gitignore before pushing code.

Never commit your .env file or API keys to a public repository. Add the file to your .gitignore before pushing code.

Installation Checklist

Complete the following before continuing to the next guide:

  • Install the official NovaAI SDK.

  • Confirm your runtime meets the minimum requirements.

  • Create a project directory.

  • Configure your environment variables.

  • Verify the SDK loads without errors.

Common Installation Issues

Package installation fails

Ensure your package manager is up to date and that your internet connection is stable.

Unsupported runtime version

Upgrade your runtime to a supported version before installing the SDK.

Module cannot be found

Confirm the SDK has been installed successfully and that dependencies have been installed correctly.

Environment variables are not detected

Restart your development server after creating or modifying the .env file.

Installation Workflow

Rendering diagram…

Next Step

Your development environment is now ready.

Continue to Authentication to learn how NovaAI securely authorizes requests using API keys, project scopes, and bearer token authentication.

Documentación relacionada

¿Te resultó útil?

¿Te resultó útil?

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