Quickstart

Get up and running with Tenzro Cloud in under 5 minutes. This guide will walk you through creating your first project, obtaining an API key, and making your first API call.

1. Create an Account

Visit console.cloud.tenzro.com and sign in with your Google account. Your first project will be created automatically.

2. Get Your API Key

Navigate to API Keys in the sidebar and click Create API Key. Copy your key - you'll need it for authentication.

3. Install the SDK

# npm
npm install tenzro
# pnpm
pnpm add tenzro
# yarn
yarn add tenzro

4. Initialize the Client

index.ts
import { Tenzro } from 'tenzro';
const tenzro = new Tenzro({
apiKey: process.env.TENZRO_API_KEY!,
});

5. Make Your First API Call

Let's call the AI chat endpoint:

chat.ts
const response = await tenzro.ai.chat({
model: 'gemini-2.5-flash',
messages: [
{ role: 'user', content: 'What is Tenzro Cloud?' }
],
});
console.log(response.content);
// "Tenzro Cloud is an AI-native cloud infrastructure platform..."

6. Store Data

Store a key-value pair:

kev.ts
// Set a value
await tenzro.kev.set('user:123', {
name: 'John Doe',
email: 'john@example.com'
});
// Get the value
const user = await tenzro.kev.get('user:123');
console.log(user.name); // "John Doe"

7. Vector Search

Create a vector database and search:

vec.ts
// List your vector databases
const databases = await tenzro.vec.list('your-project-id');
// Insert vectors
await tenzro.vec.insert('db-id', [
{ id: 'doc-1', vector: [0.1, 0.2, 0.3, ...], metadata: { title: 'Hello' } },
{ id: 'doc-2', vector: [0.4, 0.5, 0.6, ...], metadata: { title: 'World' } },
]);
// Search for similar vectors
const results = await tenzro.vec.search('db-id', {
vector: [0.1, 0.2, 0.3, ...],
topK: 5,
});

Next Steps