You can explore and manage Templates directly from the Tensor One Web Interface or by using the GraphQL API.
Exploring Templates
Official & Community Templates
- Navigate to the Explore section in the Web UI
- Browse Templates maintained by Tensor One and contributions from the community
Private & Team Templates
- Visit the Templates section under your dashboard
- View and manage Templates created by you or your team
Creating a Template
Templates define how an image is launched as a Cluster, including:- Container disk size
- Volume size and mount path
- Ports to expose
- Environment variables
Example: Create Template via GraphQL (using curl)
Environment Variables in Templates
Environment variables are key-value pairs that are injected into your Cluster at runtime. They are useful for:- Storing API keys
- Defining file paths
- Providing service credentials
Example Use Cases
OPENAI_API_KEY=sk-xxxMODEL_PATH=/workspace/models/my-modelDB_PASSWORD=secure1234
Predefined Variables (by Tensor One)
These are automatically injected into every Cluster:
Leverage environment variables to manage sensitive data and runtime configuration without hardcoding values into your application.

