# Docs - Get started - [Get started](https://docs.volcano.dev/docs/get-started.md): What Volcano is, how to install it, and how to ship your first project. - [Install](https://docs.volcano.dev/docs/get-started/install.md): Install the Volcano CLI and the JavaScript SDK. - [Quickstart](https://docs.volcano.dev/docs/get-started/quickstart.md): Install the CLI, sign up, create a project, and start building. - [What is Volcano?](https://docs.volcano.dev/docs/get-started/what-is-volcano.md): AI infrastructure for agents and applications, with functions, durable functions, databases, auth, realtime, storage, hosting, and locks. - Volcano Documentation - [Volcano Documentation](https://docs.volcano.dev/docs/platform.md): Volcano is AI infrastructure for agents and applications: functions, durable functions, sandboxes, databases, auth, realtime, storage, hosting, and locks. - API reference - [Auth Endpoints](https://docs.volcano.dev/docs/platform/api-reference/auth-endpoints.md): Complete reference for authentication endpoints. - [Authentication](https://docs.volcano.dev/docs/platform/api-reference/authentication.md): How to authenticate API requests. - [Databases API](https://docs.volcano.dev/docs/platform/api-reference/databases.md): Manage PostgreSQL databases. - [Error Handling](https://docs.volcano.dev/docs/platform/api-reference/errors.md): How the Volcano API reports errors, with status codes and JSON error bodies. - [Frontend Endpoints](https://docs.volcano.dev/docs/platform/api-reference/frontend-endpoints.md): Frontend hosting APIs are project-scoped and require a platform user token. - [Function Schedulers API](https://docs.volcano.dev/docs/platform/api-reference/function-schedulers.md): Manage scheduled invocations that run a function on a recurring cron schedule. - [Functions API](https://docs.volcano.dev/docs/platform/api-reference/functions.md): Deploy and invoke functions. - [Project Locks API Reference](https://docs.volcano.dev/docs/platform/api-reference/locks.md): REST API endpoints for acquiring, renewing, inspecting, and releasing project lock leases. - [Notifications API](https://docs.volcano.dev/docs/platform/api-reference/notifications.md): Read and change where a project's alerts go, rotate the webhook signing secret, and send a test. - [OAuth API reference](https://docs.volcano.dev/docs/platform/api-reference/oauth.md): API reference for OAuth/SSO provider authentication. - [OpenAPI specification](https://docs.volcano.dev/docs/platform/api-reference/openapi.md): Fetch Volcano's machine-readable API description to generate a client, import the API into a REST client, or check your integration against the contract. - [API reference](https://docs.volcano.dev/docs/platform/api-reference/overview.md): The Volcano REST API lets you manage projects, deploy functions and frontends, provision databases, and handle user authentication. - [Projects API](https://docs.volcano.dev/docs/platform/api-reference/projects.md): Manage projects via REST API. - [Storage API Reference](https://docs.volcano.dev/docs/platform/api-reference/storage.md): REST API endpoints for Volcano Storage operations. - [Using the API](https://docs.volcano.dev/docs/platform/api-reference/using-the-api.md): Create a project access token and drive a real workflow with it: deploy a function, set a variable, read logs, handle errors, and rotate the credential. - Authentication - [Anonymous users](https://docs.volcano.dev/docs/platform/authentication/anonymous-users.md): Anonymous users allow guest access to your application without requiring registration. - [Auth user insights](https://docs.volcano.dev/docs/platform/authentication/auth-insights.md): Query authentication insights and metrics for a project over a time range. - [Authentication Concepts](https://docs.volcano.dev/docs/platform/authentication/concepts.md): Core authentication concepts in Volcano: platform vs auth users, token types, project isolation, sessions, and access keys. - [Configuring Authentication Methods Per Project](https://docs.volcano.dev/docs/platform/authentication/configuring-auth-methods.md): Control which authentication methods each project enables — email/password, OAuth providers, and anonymous — to match your use case. - [Email Verification](https://docs.volcano.dev/docs/platform/authentication/email-verification.md): Require users to confirm their email addresses before signing in. - [Managed Hosted Auth Pages](https://docs.volcano.dev/docs/platform/authentication/managed-hosted-pages.md): Managed hosted auth pages let you serve customizable authentication pages directly from Volcano for each project. - [OAuth Integration Guide](https://docs.volcano.dev/docs/platform/authentication/oauth-integration-guide.md): Complete guide for integrating OAuth/SSO authentication in your application. - [OAuth / SSO Provider Integration](https://docs.volcano.dev/docs/platform/authentication/oauth-providers.md): Volcano supports third-party OAuth providers (Google, GitHub, Microsoft, Apple) for user authentication. - [OAuth Provider Token Refresh](https://docs.volcano.dev/docs/platform/authentication/oauth-token-refresh.md): Access OAuth provider APIs (Google, GitHub, etc.) on behalf of your users. - [Authentication](https://docs.volcano.dev/docs/platform/authentication/overview.md): Volcano provides a complete authentication system for your applications. Each project has its own isolated set of users, tokens, and configuration. - [Password Reset](https://docs.volcano.dev/docs/platform/authentication/password-reset.md): Allow users to reset forgotten passwords. - [Authentication quickstart](https://docs.volcano.dev/docs/platform/authentication/quickstart.md): Add user authentication to your application in 5 minutes. - [Manage SDK sessions](https://docs.volcano.dev/docs/platform/authentication/session-management.md): Read, adopt, refresh, and sign out Volcano sessions with the JavaScript, Python, and Ruby SDKs. - [User Provider Identification](https://docs.volcano.dev/docs/platform/authentication/user-provider-identification.md): How to identify which authentication method(s) each user is using in your Volcano project. - [Volcano SDK](https://docs.volcano.dev/docs/platform/authentication/volcano-sdk.md): The Volcano SDK (@volcano.dev/sdk) is a JavaScript library for authentication, database queries, and functions. - Backend - [Function Integration](https://docs.volcano.dev/docs/platform/authentication/backend/function-integration.md): Access authenticated user context in your functions. - Configuration - [CORS Configuration](https://docs.volcano.dev/docs/platform/authentication/configuration/cors.md): Restrict which domains can call your auth endpoints. - [Email Domain Allowlist](https://docs.volcano.dev/docs/platform/authentication/configuration/email-domain-allowlist.md): Restrict which email domains can own an account in your Volcano project, and choose whether the restriction covers signup only or sign-in as well. - [Email SMTP Configuration](https://docs.volcano.dev/docs/platform/authentication/configuration/email-smtp.md): Configure SMTP for sending transactional emails (confirmations, password resets, notifications). - [Email Templates](https://docs.volcano.dev/docs/platform/authentication/configuration/email-templates.md): Customize email templates per project. - [Configuration](https://docs.volcano.dev/docs/platform/authentication/configuration/overview.md): Customize authentication settings per project. - [Password History](https://docs.volcano.dev/docs/platform/authentication/configuration/password-history.md): Prevent users from reusing recent passwords. - [Password Requirements](https://docs.volcano.dev/docs/platform/authentication/configuration/password-requirements.md): Volcano enforces a secure password baseline in the backend for sign-up, password reset, anonymous-account conversion, and password changes. - [Authentication Provider Separation](https://docs.volcano.dev/docs/platform/authentication/configuration/provider-separation.md): Volcano separates authentication provider configuration from the master signup toggle, giving you fine-grained control over your authentication system. - [Rate Limiting](https://docs.volcano.dev/docs/platform/authentication/configuration/rate-limiting.md): Prevent brute force and abuse with distributed rate limiting. - [Session Management](https://docs.volcano.dev/docs/platform/authentication/configuration/session-management.md): Force users to re-authenticate based on activity or time. - [Token Lifetimes](https://docs.volcano.dev/docs/platform/authentication/configuration/token-lifetimes.md): Control how long tokens remain valid. - Frontend - [JavaScript SDK](https://docs.volcano.dev/docs/platform/authentication/frontend/javascript-sdk.md): Complete reference for the Volcano JavaScript SDK (@volcano.dev/sdk). - Security - [Anon keys](https://docs.volcano.dev/docs/platform/authentication/security/anon-keys.md): Anon keys are public API keys that are safe to use in frontend code. They allow users to sign up, sign in, and perform authentication operations. - [Project access tokens](https://docs.volcano.dev/docs/platform/authentication/security/project-access-tokens.md): Project access tokens are control-plane credentials bound to a single project, for CI, scripts, and agents that should never hold account-wide access. - [Service keys](https://docs.volcano.dev/docs/platform/authentication/security/service-keys.md): Service keys provide admin-level access to your project. They bypass row-level security (RLS) and can access all data across all users. - [Token Types](https://docs.volcano.dev/docs/platform/authentication/security/token-types.md): Volcano uses different token types for different purposes. - Databases - [Auth Helpers](https://docs.volcano.dev/docs/platform/databases/auth-helpers.md): PostgreSQL functions for accessing authenticated user information. - [Database Authentication & User Impersonation](https://docs.volcano.dev/docs/platform/databases/authentication-and-impersonation.md): Understanding how your identity is passed to the database for Row-Level Security. - [Database Authentication Flow - Complete Guide](https://docs.volcano.dev/docs/platform/databases/authentication-flow.md): How authentication works in client-side (browser) vs server-side (function) scenarios. - [Backups and restore](https://docs.volcano.dev/docs/platform/databases/backups.md): Back up a database, restore it from a backup or to a point in time, and schedule automated backups. - [Branching](https://docs.volcano.dev/docs/platform/databases/branching.md): Fork a database into a short-lived, isolated copy for development, testing, and CI. - [Connection Strings](https://docs.volcano.dev/docs/platform/databases/connection-strings.md): Connect to your PostgreSQL databases. - [Creating Databases](https://docs.volcano.dev/docs/platform/databases/creating-databases.md): Provision PostgreSQL databases. - [Database Roles and Security](https://docs.volcano.dev/docs/platform/databases/database-roles.md): When you create a database in Volcano, it comes with built-in roles for secure multi-tenant access. - [Direct PostgreSQL Connection](https://docs.volcano.dev/docs/platform/databases/direct-connection.md): Connect directly to your Volcano PostgreSQL database from functions, Node.js servers, or any PostgreSQL client. - [Importing Data](https://docs.volcano.dev/docs/platform/databases/importing-data.md): Move an existing PostgreSQL database into Volcano with pg_dump and psql, and bulk-load or export rows with COPY. - [Databases](https://docs.volcano.dev/docs/platform/databases/overview.md): PostgreSQL databases you can branch in under a minute, restore to a point in time, and secure with row-level security. - [Query Builder API](https://docs.volcano.dev/docs/platform/databases/query-builder-api.md): Query your PostgreSQL database from the browser using a simple, chainable query API! - [Database quick start](https://docs.volcano.dev/docs/platform/databases/quick-start.md): Get started with Volcano databases. - [Database REST API](https://docs.volcano.dev/docs/platform/databases/rest-api.md): Query your PostgreSQL databases directly from your application using a REST API. - [Row-Level Security](https://docs.volcano.dev/docs/platform/databases/row-level-security.md): Secure your data at the database level using PostgreSQL's RLS. - Examples - [Volcano Examples](https://docs.volcano.dev/docs/platform/examples/README.md): This directory contains complete examples demonstrating Volcano features. - Database pool example - [Database Connection Pool Example](https://docs.volcano.dev/docs/platform/examples/database-pool-example/README.md): Production-ready example showing how to use connection pooling with Volcano SDK for optimal performance. - Frontend auth nextjs - [Volcano Frontend Auth - Next.js](https://docs.volcano.dev/docs/platform/examples/frontend-auth-nextjs/README.md): A production-ready Next.js application demonstrating all Volcano authentication features including email/password, anonymous users, OAuth, password r… - Components - [Components](https://docs.volcano.dev/docs/platform/examples/frontend-auth-nextjs/components/README.md): Reusable React components for the Volcano Auth example. - Frontend function routes - [Frontend Function routes example](https://docs.volcano.dev/docs/platform/examples/frontend-function-routes/README.md): A Next.js frontend that signs users in through a public session function served on its own origin. - Web - Function sdk example - [Volcano SDK in a Function](https://docs.volcano.dev/docs/platform/examples/function-sdk-example/README.md): This example shows how to use the @volcano.dev/sdk inside a Volcano function for clean, expressive database queries with automatic Row-Level Security. - Function service key example - [Function with Service Key Example](https://docs.volcano.dev/docs/platform/examples/function-service-key-example/README.md): CRITICAL SECURITY WARNING - Nodejs hello - [Node.js Hello World Example](https://docs.volcano.dev/docs/platform/examples/nodejs-hello/README.md): This is a simple function that demonstrates the Volcano platform. - Python data - [Python Data Processing Example](https://docs.volcano.dev/docs/platform/examples/python-data/README.md): A function that processes data arrays and demonstrates environment variable usage. - Realtime backend service - [Realtime Backend Service Example](https://docs.volcano.dev/docs/platform/examples/realtime-backend-service/README.md): This example demonstrates using Volcano Realtime with a service role key for backend/server-to-server communication. - Realtime chat - [Volcano Realtime Chat](https://docs.volcano.dev/docs/platform/examples/realtime-chat/README.md): Minimal real-time chat with presence tracking using the Volcano SDK. Shows how easy it is to build a full-featured chat app with online user lists. - Realtime function test - [Realtime Function Test](https://docs.volcano.dev/docs/platform/examples/realtime-function-test/README.md): This example demonstrates how to test Volcano Realtime capabilities from within a function. - Frontends - [Deploy a frontend](https://docs.volcano.dev/docs/platform/frontends/deploy.md): Build and deploy a Next.js site to Volcano with the CLI, set variables, attach a custom domain, and view logs. - [Verify domain ownership](https://docs.volcano.dev/docs/platform/frontends/domain-verification.md): Prove your account owns a domain once with a TXT record, then attach any hostname below it to your frontends. - [Frontend routes](https://docs.volcano.dev/docs/platform/frontends/frontend-routes.md): Serve another frontend of your project under a path of your site, so one hostname runs several apps. - [Frontend Function routes](https://docs.volcano.dev/docs/platform/frontends/function-routes.md): Serve a public HTTP function under a path of your frontend, so the browser calls it on the same origin with cookies instead of tokens. - [Frontends overview](https://docs.volcano.dev/docs/platform/frontends/overview.md): Deploy static and server-rendered sites on Volcano, with build/runtime variables, custom domains, and zero-downtime redeploys. - [Frontend previews](https://docs.volcano.dev/docs/platform/frontends/previews.md): Deploy a build of a frontend to its own URL, check it, promote it to be what the frontend serves, and roll back. - Functions - [Creating functions](https://docs.volcano.dev/docs/platform/functions/creating-functions.md): Deploy functions to Volcano. Volcano supports Node.js, Python, and Ruby runtimes. - [Function Deployment Guide](https://docs.volcano.dev/docs/platform/functions/deployment-guide.md): Upload a focused ZIP or tar.gz archive containing the source files needed to build and run the function. - [Durable approvals](https://docs.volcano.dev/docs/platform/functions/durable-approvals.md): Pause a durable function until a person approves or denies it, then resume with their decision. Decide in the dashboard, the CLI, the API, or an SDK. - [Durable callbacks](https://docs.volcano.dev/docs/platform/functions/durable-callbacks.md): Hand a callback token from a durable function to another system, and let that system succeed, fail, or heartbeat the waiting step. - [Durable functions](https://docs.volcano.dev/docs/platform/functions/durable-functions.md): Durable functions checkpoint their progress and resume where they left off, so a single execution can run for up to a year across many invocations. - [Durable messages](https://docs.volcano.dev/docs/platform/functions/durable-messages.md): Send named messages to a running durable function from a webhook, a backend, a browser, or another function, and read or subscribe to the messages it publishes. - [Environment Variables](https://docs.volcano.dev/docs/platform/functions/environment-variables.md): Share configuration across all functions and frontends in a project. - [Invoking functions](https://docs.volcano.dev/docs/platform/functions/invoking-functions.md): Call your deployed functions. - [Function Logs](https://docs.volcano.dev/docs/platform/functions/logs.md): View historical and live execution logs for your functions. - [Functions](https://docs.volcano.dev/docs/platform/functions/overview.md): Functions are code that runs on demand. You write the code, deploy it to Volcano, and invoke it via HTTP. - [Function previews](https://docs.volcano.dev/docs/platform/functions/previews.md): Deploy a build of a function to its own runtime and URL, check it with production's variables, point the function's traffic at it, and roll back. - [Scheduled Function Invocations](https://docs.volcano.dev/docs/platform/functions/scheduled-invocations.md): Scheduled invocations let a function run automatically on a cron schedule without creating per-function infrastructure. - [Function Upload API](https://docs.volcano.dev/docs/platform/functions/upload-api.md): Upload a function as a ZIP or tar.gz archive; the API normalizes it to tar.gz and starts the cloud build. - [Accessing User Information in Functions](https://docs.volcano.dev/docs/platform/functions/user-context.md): Learn how to access authenticated user information in your functions. - Getting started - [Installation](https://docs.volcano.dev/docs/platform/getting-started/installation.md): This guide covers installing the Volcano SDK for your frontend application and setting up your development environment. - [Overview](https://docs.volcano.dev/docs/platform/getting-started/overview.md): Volcano is AI infrastructure for agents and applications: functions, durable functions, databases, auth, realtime, storage, hosting, and locks. - [Quickstart](https://docs.volcano.dev/docs/platform/getting-started/quickstart.md): Install the Volcano CLI, run a function locally, then deploy it to the cloud. - Guides - [Delete or keep your account](https://docs.volcano.dev/docs/platform/guides/account-deletion.md): Stop account resources and automatic payments, with 30 days to change your mind. - [Deployment performance](https://docs.volcano.dev/docs/platform/guides/deployment-performance.md): Understand deployment timing and platform latency objectives. - [Deployment source](https://docs.volcano.dev/docs/platform/guides/deployment-source.md): Identify what initiated each deployment — a Git push, the CLI, the dashboard, the API, or the platform itself. - [Developing durable functions locally](https://docs.volcano.dev/docs/platform/guides/durable-functions-locally.md): Write a durable function, watch it suspend and resume locally, then deploy it unchanged. - [Issues](https://docs.volcano.dev/docs/platform/guides/issues.md): See the runtime errors your functions and frontends raise, grouped into issues you can resolve or ignore. - [Fix Aikido issues with LavaFlow](https://docs.volcano.dev/docs/platform/guides/lavaflow-aikido.md): Connect an Aikido workspace so LavaFlow opens fix pull requests for the code issues Aikido finds. - [Report problems from Slack](https://docs.volcano.dev/docs/platform/guides/lavaflow-slack.md): Mention Volcano in Slack to have LavaFlow diagnose a reported problem, or propose a change you ask for, in a pull request. - [LavaFlow](https://docs.volcano.dev/docs/platform/guides/lavaflow.md): Turn production errors into reviewed fixes: LavaFlow diagnoses your issues, opens pull requests that fix them, and, when you allow it, merges them. - [Database Migrations](https://docs.volcano.dev/docs/platform/guides/migrations.md): Apply SQL migrations to a Volcano database once each, rehearsed on a branch and backed up first, from the API, a Git push, or the CLI. - [Plans and limits](https://docs.volcano.dev/docs/platform/guides/plans-and-limits.md): HOBBY vs SUPERAGENT limits for functions, frontends, databases, storage, realtime, and your account on Volcano. - [Deploy to production](https://docs.volcano.dev/docs/platform/guides/production.md): Take a Volcano project to production: deploy functions and frontends, set secrets, add a custom domain, and watch logs. - [Sandboxes](https://docs.volcano.dev/docs/platform/guides/sandboxes.md): Run isolated commands and keep temporary sessions alive for files and HTTP services. - [Security checklist](https://docs.volcano.dev/docs/platform/guides/security-checklist.md): Use this checklist before deploying your Volcano application to production. - [Unavailable Responses](https://docs.volcano.dev/docs/platform/guides/unavailable-responses.md): What visitors to your app see when Volcano stops serving your project's traffic, and how to detect it from a client. - Interfaces - [Dashboard](https://docs.volcano.dev/docs/platform/interfaces/dashboard.md): The Volcano dashboard: create and inspect projects, read logs and usage, manage keys, and change configuration in a browser. - [MCP server](https://docs.volcano.dev/docs/platform/interfaces/mcp.md): Connect an AI agent to one Volcano project over the Model Context Protocol, using the same project access token as the REST API. - [Ways to use Volcano](https://docs.volcano.dev/docs/platform/interfaces/README.md): Volcano is one platform behind five interfaces — dashboard, CLI, SDK, REST API, and MCP server. Which one to reach for, and what each takes. - Locks - [Project Locks JavaScript SDK](https://docs.volcano.dev/docs/platform/locks/javascript-sdk.md): Coordinate backend workers with renewable project lock leases using the Volcano JavaScript SDK. - Projects - [Project configuration manifest](https://docs.volcano.dev/docs/platform/projects/configuration.md): volcano-config.yaml is the declarative manifest for a project's user-facing configuration. - [Creating Projects](https://docs.volcano.dev/docs/platform/projects/creating-projects.md): Projects organize your functions, durable functions, databases, authentication, file storage, realtime, frontend hosting, and distributed locks. - [Export your source to GitHub](https://docs.volcano.dev/docs/platform/projects/export-to-git.md): Initialize an empty GitHub repository with the source Volcano stores for your project, then deploy it from Git. - [Deploy from GitHub](https://docs.volcano.dev/docs/platform/projects/git-deploy.md): Connect a GitHub repository to a Volcano project so every push to the production branch deploys your functions and frontend automatically. - [Project health](https://docs.volcano.dev/docs/platform/projects/health.md): Review project health, operation failures, and blocked storage use. - [Import a GitHub repository](https://docs.volcano.dev/docs/platform/projects/import-from-github.md): Create a new Volcano project from an existing GitHub repository: check what it deploys, then connect it and queue its first deployment. - [Notifications](https://docs.volcano.dev/docs/platform/projects/notifications.md): Get an email or a signed webhook when a scheduled function keeps failing, and again when it recovers. - [Projects](https://docs.volcano.dev/docs/platform/projects/overview.md): A project holds functions, durable functions, databases, auth, storage, realtime, frontends, locks, and API keys. - [Sharing and forking](https://docs.volcano.dev/docs/platform/projects/sharing.md): Share a project so anyone can fork their own copy as a Volcano project, and see how many people clicked and forked. - [Create a project from a template](https://docs.volcano.dev/docs/platform/projects/templates.md): Install a starter application with its own database and project credentials. - [Variable Environments](https://docs.volcano.dev/docs/platform/projects/variable-environments.md): Create and manage Project-owned variable Environment identities. - Realtime - [Broadcast Channels](https://docs.volcano.dev/docs/platform/realtime/broadcast.md): Broadcast channels for pub/sub messaging between connected clients — chat rooms, live updates, and notifications. - [JavaScript SDK](https://docs.volcano.dev/docs/platform/realtime/javascript-sdk.md): The Volcano Realtime JavaScript SDK: WebSocket connections with automatic reconnection, subscription management, and TypeScript support. - [Realtime](https://docs.volcano.dev/docs/platform/realtime/overview.md): Volcano Realtime provides WebSocket-based real-time communication for your applications. - [Postgres Changes](https://docs.volcano.dev/docs/platform/realtime/postgres-changes.md): Subscribe to real-time notifications when database rows are inserted, updated, or deleted. - [Presence](https://docs.volcano.dev/docs/platform/realtime/presence.md): Presence channels let you track which users are online in real-time. Perfect for showing online indicators, collaborative features, and live user lists. - [Realtime Security](https://docs.volcano.dev/docs/platform/realtime/security.md): The Volcano Realtime security model: authentication flow, channel authorization, and best practices for securing realtime features. - Sandboxes - [Sandboxes](https://docs.volcano.dev/docs/platform/sandboxes/overview.md): Run commands and HTTP services in isolated sessions, with files and processes that persist across steps. - Storage - [Storage Buckets](https://docs.volcano.dev/docs/platform/storage/buckets.md): Buckets are containers for organizing files in Volcano Storage. Each project can have multiple buckets with different configurations and access policies. - [Storage JavaScript SDK](https://docs.volcano.dev/docs/platform/storage/javascript-sdk.md): The Volcano JavaScript SDK provides a Supabase-like interface for storage operations. - [Storage](https://docs.volcano.dev/docs/platform/storage/overview.md): Volcano Storage provides durable object storage with RLS-style access control policies. - [Storage Policies](https://docs.volcano.dev/docs/platform/storage/policies.md): Storage policies provide RLS-style access control for files. Policies are evaluated at request time to determine whether an operation is allowed. - SDKs - [SDKs](https://docs.volcano.dev/docs/sdk.md): Choose a Volcano SDK for authentication, databases, storage, functions, durable functions, logs, distributed locks, and realtime events. - Volcano SDK Documentation - [Volcano SDK Documentation](https://docs.volcano.dev/docs/sdk/js.md): Welcome to the Volcano SDK documentation. This guide will help you integrate Volcano's backend services into your JavaScript and TypeScript applications. - [Authentication](https://docs.volcano.dev/docs/sdk/js/authentication.md): Volcano provides a complete authentication system with multiple sign-in methods, session management, and security features. - [Database](https://docs.volcano.dev/docs/sdk/js/database.md): Volcano lets you query your PostgreSQL database directly from the browser using a fluent query builder. - [Durable functions](https://docs.volcano.dev/docs/sdk/js/durable-functions.md): Write functions that checkpoint their progress and resume where they left off for up to 366 days. - [Error Handling](https://docs.volcano.dev/docs/sdk/js/error-handling.md): The Volcano SDK returns error objects instead of throwing, so you can inspect and handle failures consistently across every operation. - [Functions](https://docs.volcano.dev/docs/sdk/js/functions.md): Volcano Functions run serverless backend logic that can't happen in the browser, like complex database queries or third-party API calls. - [Getting Started](https://docs.volcano.dev/docs/sdk/js/getting-started.md): This guide walks you through installing the Volcano SDK and making your first authenticated request. - [Project locks](https://docs.volcano.dev/docs/sdk/js/locks.md): Project locks are renewable leases for backend coordination, keeping one holder at a time on work like a migration or a scheduled rollup. - [Logs](https://docs.volcano.dev/docs/sdk/js/logs.md): Search retained project logs, paginate events, and read activity counts. - [Next.js Integration](https://docs.volcano.dev/docs/sdk/js/nextjs.md): This guide covers how to use the Volcano SDK effectively in Next.js applications, including App Router, Pages Router, Server Components, and Middleware. - [Realtime](https://docs.volcano.dev/docs/sdk/js/realtime.md): Volcano Realtime enables live data synchronization using WebSockets. Subscribe to database changes, track user presence, and broadcast messages between clients. - [Sandboxes](https://docs.volcano.dev/docs/sdk/js/sandboxes.md): Run isolated commands, keep a session for multiple steps, and access its files and HTTP services. - [Storage](https://docs.volcano.dev/docs/sdk/js/storage.md): Volcano Storage provides secure file storage with access control. Upload user avatars, documents, media files, and more with built-in security policies. - [TypeScript compatibility](https://docs.volcano.dev/docs/sdk/js/typescript-compatibility.md): Handle optional response fields accurately when upgrading the SDK. - [TypeScript](https://docs.volcano.dev/docs/sdk/js/typescript.md): The Volcano SDK includes comprehensive TypeScript definitions for type-safe development. This guide covers type usage, generics, and best practices. - [JavaScript SDK versions](https://docs.volcano.dev/docs/sdk/js/versions.md): Pin a tested SDK version, check runtime compatibility, upgrade safely, and restore a previous application dependency set. - Python SDK - [Python SDK](https://docs.volcano.dev/docs/sdk/python.md): Install the Volcano Python SDK and authenticate a user from a Python application. - [Authentication](https://docs.volcano.dev/docs/sdk/python/authentication.md): Manage Volcano user accounts, sessions, email flows, and OAuth from Python. - [Database queries](https://docs.volcano.dev/docs/sdk/python/database.md): Read and change Postgres rows through the Python SDK with filters, ordering, and pagination. - [Functions](https://docs.volcano.dev/docs/sdk/python/functions.md): Invoke deployed Volcano functions from Python and inspect their response status, headers, and data. - [Distributed locks](https://docs.volcano.dev/docs/sdk/python/locks.md): Coordinate Python workers with project-scoped lock leases, renewal, and fencing tokens. - [Logs](https://docs.volcano.dev/docs/sdk/python/logs.md): Search retained project logs, paginate events, and read activity counts. - [Realtime](https://docs.volcano.dev/docs/sdk/python/realtime.md): Send broadcasts, observe presence, and receive database changes with Python async channels. - [Sandboxes](https://docs.volcano.dev/docs/sdk/python/sandboxes.md): Run isolated commands and manage sessions, files, and HTTP services from Python. - [Storage](https://docs.volcano.dev/docs/sdk/python/storage.md): Upload, download, list, move, and resume files using the Python SDK. - [Python SDK versions](https://docs.volcano.dev/docs/sdk/python/versions.md): Pin a tested SDK version, check runtime compatibility, upgrade safely, and restore a previous application dependency set. - Ruby SDK - [Ruby SDK](https://docs.volcano.dev/docs/sdk/ruby.md): Install the Volcano Ruby SDK and authenticate a user from a Ruby application. - [Authentication](https://docs.volcano.dev/docs/sdk/ruby/authentication.md): Manage Volcano user accounts, sessions, email flows, and OAuth from Ruby. - [Database queries](https://docs.volcano.dev/docs/sdk/ruby/database.md): Read and change Postgres rows through the Ruby SDK with filters, ordering, and pagination. - [Functions](https://docs.volcano.dev/docs/sdk/ruby/functions.md): Invoke deployed Volcano functions from Ruby and inspect their response status, headers, and data. - [Distributed locks](https://docs.volcano.dev/docs/sdk/ruby/locks.md): Coordinate Ruby workers with project-scoped lock leases, renewal, and fencing tokens. - [Logs](https://docs.volcano.dev/docs/sdk/ruby/logs.md): Search retained project logs, paginate events, and read activity counts. - [Realtime](https://docs.volcano.dev/docs/sdk/ruby/realtime.md): Send broadcasts, observe presence, and receive database changes with Ruby async channels. - [Sandboxes](https://docs.volcano.dev/docs/sdk/ruby/sandboxes.md): Run isolated commands and manage sessions, files, and HTTP services from Ruby. - [Storage](https://docs.volcano.dev/docs/sdk/ruby/storage.md): Upload, download, list, move, and resume files using the Ruby SDK. - [Ruby SDK versions](https://docs.volcano.dev/docs/sdk/ruby/versions.md): Pin a tested SDK version, check runtime compatibility, upgrade safely, and restore a previous application dependency set. - CLI operations overview - [CLI operations overview](https://docs.volcano.dev/docs/cli.md): This is a map of the Volcano building blocks ("elements") the CLI operates on, how they relate, and where the CLI can act on each. - [Access tokens](https://docs.volcano.dev/docs/cli/access-tokens.md): Project-scoped credentials for CI and automation, minted and revoked from the CLI. - [Agent detection](https://docs.volcano.dev/docs/cli/agent-detection.md): How the Volcano CLI detects which coding agent ran a command, what it reports to the Volcano API, and how to set VOLCANO_AGENT. - [Authentication](https://docs.volcano.dev/docs/cli/authentication.md): Sign up, log in, and manage your Volcano credentials from the CLI. - [Connect a directory](https://docs.volcano.dev/docs/cli/connect.md): Sign in, create a cloud project, and set up a directory for it with one command, ready for a coding agent to build on. - [Databases](https://docs.volcano.dev/docs/cli/databases.md): A managed PostgreSQL database provisioned for your project. Functions connect to it using its connection string. - [Deploy a project](https://docs.volcano.dev/docs/cli/deploy.md): Deploy variables, migrations, functions, durable functions, frontends, and configuration with one command, in the order Volcano needs. - [Deployments](https://docs.volcano.dev/docs/cli/deployments.md): List, inspect and summarize the deployments of a project's functions, durable functions and frontends from the CLI. - [Documentation search (`volcano docs`)](https://docs.volcano.dev/docs/cli/docs-search.md): Search and read the official Volcano documentation from your terminal with volcano docs, cached locally for offline use. - [Verified domains](https://docs.volcano.dev/docs/cli/domains.md): Prove your account owns a domain once, then attach any name below it to your frontends. - [Durable functions](https://docs.volcano.dev/docs/cli/durable-functions.md): Deploy functions that checkpoint progress and resume from the last completed step for up to 366 days. - [Feedback](https://docs.volcano.dev/docs/cli/feedback.md): Report a problem with Volcano from the CLI, as a person or a coding agent, and what each report contains. - [Frontends](https://docs.volcano.dev/docs/cli/frontends.md): A static or server-rendered site served by Volcano, optionally on your own custom domain and serving functions under its own paths. - [Functions](https://docs.volcano.dev/docs/cli/functions.md): A function is a unit of deployed backend logic (JavaScript/TypeScript, Python, or Ruby) that Volcano builds, packages, and runs on a managed runtime. - [Git connection](https://docs.volcano.dev/docs/cli/git.md): Bind a project to a GitHub repository so that pushing to its production branch deploys. - [Installation](https://docs.volcano.dev/docs/cli/installation.md): Install the Volcano CLI with npm, pnpm, Bun, Homebrew, or the install script. - [LavaFlow](https://docs.volcano.dev/docs/cli/lavaflow.md): Turn LavaFlow on from the CLI so Volcano diagnoses your project's runtime errors and opens pull requests that fix them, then follow what it did. - [Logs](https://docs.volcano.dev/docs/cli/logs.md): Search, tail and count a project's runtime logs across its functions, frontends or databases. - [Notifications](https://docs.volcano.dev/docs/cli/notifications.md): Get alerted by email or a signed webhook when a function scheduler keeps failing, and configure it from the CLI. - [Project configuration](https://docs.volcano.dev/docs/cli/project-configuration.md): Manage a project declaratively with volcano config: pull and deploy a volcano-config.yaml manifest that Volcano validates and applies. - [Sandboxes](https://docs.volcano.dev/docs/cli/sandboxes.md): Execute isolated commands and manage Sandbox sessions, files, and saved templates. - [Scripts and agents](https://docs.volcano.dev/docs/cli/scripting.md): Exit codes and JSON output for running the Volcano CLI from scripts, CI, and coding agents. - [Agent setup](https://docs.volcano.dev/docs/cli/setup.md): Install the Volcano agent skills and plugins into the coding agents on your machine, and keep them up to date. - [Share and fork](https://docs.volcano.dev/docs/cli/share.md): Share a cloud project with volcano share so anyone can fork their own copy with volcano fork, and see how often it is forked. - [Storage](https://docs.volcano.dev/docs/cli/storage.md): Object storage organized into buckets that hold objects (files). Policies govern access to a bucket, and each object has a public/private visibility. - [Telemetry](https://docs.volcano.dev/docs/cli/telemetry.md): What usage data the Volcano CLI collects, how it is sent, and how to turn it off. - [Variables](https://docs.volcano.dev/docs/cli/variables.md): Environment variables (including secrets) made available to your project's functions and frontends at runtime. - Cookbooks - [Cookbook](https://docs.volcano.dev/cookbook/index.md): Build working agents and apps with compact Volcano recipes, each with a tested coding-agent prompt. - [Agent evals in Volcano sandboxes](https://docs.volcano.dev/cookbook/agent-evals-in-volcano-sandboxes.md): Run coding agent evals with Harbor, one Volcano sandbox per trial: six agents on one task in parallel, graded by hidden tests, with a live scoreboard. - [Support agent](https://docs.volcano.dev/cookbook/support-agent.md): A Next.js support desk on Volcano where a Claude agent in a durable function triages each ticket with tools that run under row-level security. - [Finance agent for budget requests](https://docs.volcano.dev/cookbook/spend-request-agent.md): A chat agent checks every figure in a budget request against company data, scores the case, and holds it in a durable function until finance decides. - [Remote MCP server with Postgres tools](https://docs.volcano.dev/cookbook/mcp-server.md): Put an MCP server on a public HTTPS URL as a Volcano function, with bookmark tools in Postgres behind a bearer token, and call it from Insomnia or Claude Code. - [Pixelboard](https://docs.volcano.dev/cookbook/pixel-board.md): Create a shared pixel canvas with anonymous sign-in, persistent colors, and live updates using Volcano. - [Real-time chat](https://docs.volcano.dev/cookbook/realtime-chat.md): A Next.js chat app on Volcano with anonymous sign-in, rooms, messages saved in Postgres, live delivery, an online count and typing indicators. - [Photo sharing with Storage](https://docs.volcano.dev/cookbook/photo-sharing.md): A Next.js photo sharing app on Volcano with email sign-in, uploads to a storage bucket, browser-made thumbnails, and owner-only delete. - [Ecommerce store](https://docs.volcano.dev/cookbook/ecommerce-store.md): A Next.js store on Volcano with a public catalog, carts in Postgres, and a function that prices each order and takes the stock in one transaction. - [Notes app with per-user data](https://docs.volcano.dev/cookbook/notes-app-with-login.md): A Next.js notes app on Volcano where each person only sees their own notes, enforced in the database with row-level security. - [Petstore API from its OpenAPI spec](https://docs.volcano.dev/cookbook/petstore-api.md): Turn the Swagger Petstore OpenAPI spec into a live API on Postgres, with public reads, signed-in writes and row-level security, then test it in Insomnia. - Blog - [Blog](https://docs.volcano.dev/blog/index.md): Ideas and practical perspectives on building applications with Volcano. - [Introducing Volcano, a self-healing agent cloud by Kong](https://docs.volcano.dev/blog/introducing-volcano-agent-cloud.md): One place to build, host, and run agents and applications, with a platform that finds and fixes bugs on its own. - [Introducing Volcano Sandbox](https://docs.volcano.dev/blog/introducing-volcano-sandbox.md): An isolated workspace for AI agents to run code, work with files, and carry out tasks. - [Volcano Developer Docs](https://docs.volcano.dev/docs/index.md): Build and operate on Volcano, with functions, durable functions, databases, auth, realtime, storage, hosting, and locks. The full text of every page above, in this order: https://docs.volcano.dev/docs/llms-full.txt