Prerequisites
Before deploying to the Timbal Platform, ensure you have:- Timbal CLI installed and configured
- A Timbal project initialized with
timbal init - Your application tested locally
Deployment Process
1
Prepare Your Environment
Your You can customize the Your project also includes a The
timbal init project comes with a .dockerignore file that excludes key files from the build..dockerignore
.dockerignore to further exclude or include files as needed.All environment variables in your
.env file and system environment will be included in your container by default. While this is safe, it is preferable to use platform secrets for sensitive credentials.timbal.yaml configuration file that defines settings for the build process.timbal.yaml
fqn (Fully Qualified Name) field specifies which agent or workflow to execute. In this example, agent.py::agent refers to the agent object in the agent.py file.2
Build Your Application
Build the Docker image with the following command.You can customize the final Docker tag with the This creates a production-ready Docker container with your Timbal application and all dependencies.
-t option. If you donât specify a tag, Timbal will use your project name with :latest (e.g., my-project:latest).3
Push to Platform
Deploy your application to the Timbal Platform:Replace
<image_tag> with the tag generated by timbal build, and <deployment_url> with the URL provided by the Timbal Platform when you create your app.This automatically creates a new version of your application with built-in version control, allowing you to rollback, manage multiple environments, and track deployment history.
Platform Secrets
For enhanced security, and as a best practice, use Timbal Platform environment variables and secrets instead of embedding credentials in your Docker image:- Navigate to your app dashboard on the Timbal Platform
- Go to âEnvironment Variablesâ
- Add your sensitive credentials as platform secrets
- Reference them in your code using standard environment variable names
Connecting to Your Application
Once deployed, your Timbal application becomes available through any interface you connect it to within the platform, plus a built-in REST API for programmatic & agentic access.Platform Interfaces
Your application will be accessible through any interface you configure in the Timbal Platform, including web dashboards, chat interfaces, webhooks, and custom integrations.REST API
Your deployed application automatically exposes a REST API for direct programmatic access:Monitoring and Logs
The Timbal Platform provides built-in monitoring and logging:- Real-time logs in the platform dashboard
- Performance metrics including response times and error rates
- Resource usage monitoring for scaling decisions
- Alert configuration for critical events
Your application automatically scales based on demand. Monitor the metrics dashboard to understand your usage patterns and optimize performance.