Deployment
Pick the platform you want to host your Genkit backend on. Each guide is self-contained and covers building, configuring, and deploying your flows.
Python
Section titled “Python”- Cloud Run: deploy a containerized Genkit server to Google Cloud’s serverless platform with automatic scaling.
- Any platform: manually deploy a Python Genkit server to any host.
Securing your deployment
Section titled “Securing your deployment”Genkit’s HTTP adapters do not authenticate requests by default. Before exposing flows publicly, gate endpoints at your platform layer or in code:
- Authorization and integrity: verify callers with
ContextProvideror framework dependencies, return explicit HTTP statuses withPublicError, and scope tool calls viaToolContext.