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
# npmnpm install tenzro# pnpmpnpm add tenzro# yarnyarn 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 valueawait tenzro.kev.set('user:123', {name: 'John Doe',email: 'john@example.com'});// Get the valueconst 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 databasesconst databases = await tenzro.vec.list('your-project-id');// Insert vectorsawait 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 vectorsconst results = await tenzro.vec.search('db-id', {vector: [0.1, 0.2, 0.3, ...],topK: 5,});
Next Steps
- Read the Authentication Guide
- Explore the API Reference
- Learn about AI Agents
- Deploy MCP Servers