text
stringlengths
0
59.1k
authToken: env.TURSO_AUTH_TOKEN,
}),
});
const agent = new Agent({
name: "serverless-assistant",
instructions: "Answer user questions quickly.",
model: openai("gpt-4o-mini"),
tools: [weatherTool],
memory,
});
```
</TabItem>
</Tabs>
Monitor your deployment with `wrangler tail` and adjust the worker as needed. After these steps your VoltAgent app is live on Cloudflare Workers.
<|endoftext|>
# source: VoltAgent__voltagent/website/deployment-docs/voltops.md type: docs
---
title: VoltOps Deploy
description: Deploy your VoltAgent projects with one-click GitHub integration, automatic builds, and managed infrastructure.
---
<div className="flex justify-center mb-8">
<img src="https://cdn.voltagent.dev/website/feature-showcase/deployment.png" alt="VoltOps Deploy" className="rounded-lg shadow-lg max-w-full" />
</div>
VoltOps Deploy is a managed deployment platform built specifically for VoltAgent applications. Connect your GitHub repository and deploy your AI agents with zero configuration, automatic SSL certificates, and custom domain support.
## Features
- **GitHub Integration** - Connect public or private repositories via the VoltOps GitHub App
- **Automatic Deployments** - Push-to-deploy with webhook triggers on every commit
- **Environment Variables** - Build-time and runtime env var management with secrets support
- **Custom Domains** - CNAME-based custom domain support with automatic SSL provisioning
- **Real-time Logs** - Monitor build progress and application logs in real-time
- **HTTP Basic Auth** - Password-protect your deployments (Pro plan)
- **Agent Discovery** - View registered agents and workflows directly from the deployment dashboard
## Getting Started
### 1. Navigate to Deploy
Go to [console.voltagent.dev/deployments](https://console.voltagent.dev/deployments) and click **New deployment**.
<!-- Screenshot: Deploy page empty state with "New deployment" button -->
### 2. Connect Your Repository
Choose how to connect your repository:
- **Public GitHub** - Enter the repository URL directly (e.g., `https://github.com/user/repo`)
- **GitHub App** - Install the VoltOps GitHub App for private repository access
<!-- Screenshot: Deployment source drawer showing GitHub options -->
### 3. Configure Build Settings
Select the branch to deploy and configure build options:
- **Branch** - Choose the branch to deploy (defaults to `main`)
- **Auto-deploy** - Enable to automatically deploy on every push
<!-- Screenshot: Settings tab with branch selector -->
### 4. Set Environment Variables
Add any environment variables your application needs:
- **Runtime variables** - Available to your running application
- **Build-time variables** - Available during the build process
- **Secrets** - Encrypted values hidden from logs and UI
<!-- Screenshot: Environment tab with variable editor -->
:::tip Bulk Import
Paste a `.env` file content directly into the key field to import multiple variables at once.
:::
### 5. Deploy
Click **Deploy** to start the build process. You can monitor the build logs in real-time.
<!-- Screenshot: Deployment detail page with build logs -->
## Configuration Options
### Branch Settings
Configure which branch to deploy and how deployments are triggered:
| Setting | Description |
| ----------- | --------------------------------------------------- |
| Branch | The Git branch to deploy |
| Auto-deploy | Automatically deploy on push to the selected branch |
### Environment Variables