Skip to navigation

Environment Setup

Set up your registries, environments, and providers
View as Markdown

This guide walks you through setting up the core building blocks of Ellaworks: a prompt registry, an environment, and optionally a fleet and LLM provider. By the end you’ll have a working foundation for versioning and deploying prompts.

Set up a Prompt Registry

A registry is where your versioned prompt artifacts live — think of it as a package repository scoped to your organization.

Registries, environments, and secrets are managed by organization owners and admins. Other members don’t see these pages in the sidebar.

2

Create a new registry

Click New registry and fill in:

  • Visibility — choose Public or Private
  • Registry Name — letters, numbers, dots, underscores, and hyphens only (e.g. production-prompts)

Then click Create Registry.

Create a new registry

Public vs Private Registries

PublicPrivate
AccessAnyone on the internet can pull prompts without authenticationRestricted to org members and API keys from your organization
Use caseOpen-source prompts, community templates, shared examplesProprietary prompts, internal agent logic, production systems
API accessNo API key header requiredRequires X-API-Key or Authorization: Bearer (see API Keys)

Prompts are pulled from /api/prompts/{org-slug}/{registry-name}/{prompt-name}/{version}, with an optional model query parameter (defaults to generic).

Accessing a public registry — no authentication needed:

curl "https://app.ellaworks.ai/api/prompts/your-org/public-prompts/greeting/1.0.0?model=generic"

Accessing a private registry — requires an API key from the registry’s organization (X-API-Key or Authorization: Bearer; if both are sent, X-API-Key wins):

curl -H "X-API-Key: YOUR_API_KEY" \
"https://app.ellaworks.ai/api/prompts/your-org/internal-prompts/greeting/1.0.0?model=generic"
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://app.ellaworks.ai/api/prompts/your-org/internal-prompts/greeting/1.0.0?model=generic"

Public registries are great for sharing prompt templates with the community or across teams. Use private registries for anything you don’t want exposed outside your organization. Requests for a private registry without valid access return 404 Not found, so the registry’s existence isn’t revealed.

Add an Environment

Environments let you isolate provider credentials, variables, and configuration per deployment stage. A typical setup includes development, staging, and production environments.

Every organization also has a Global environment, created automatically. Its variables and provider credentials are the base for every other environment; an individual environment only needs to define the values it overrides.

2

Create an environment

Click Create Environment and give it a Name (e.g. development). The name * is reserved for the Global environment.

Create a new environment

3

Configure a provider

Under Providers, select a deployment provider, click Add, and fill in its credentials so Ellaworks can deploy agents on your behalf:

ProviderCredentials
Vapi, Retell, ElevenLabs, TelnyxAPI key (see Vapi and ElevenLabs)
AWS Bedrock AgentsAWS Access Key ID, AWS Secret Access Key, AWS Region, and an optional Session Token (see AWS Bedrock)

Credentials are never stored inline: pick an existing secret or create a new one in place. The environment stores a reference such as ${VAPI_API_KEY}, and the encrypted value lives on the Secrets page (under Delivery), where you can rotate it without editing each environment.

Providers configured on the Global environment apply to every environment automatically — add the same provider to an individual environment only to override its credentials there.

Configure a provider in the environment

4

Add variables

Under Variables, click Add Variable to define key-value pairs that get injected into your prompts at deployment time. Names may contain letters, numbers, dashes, and underscores. For example:

KeyValue
COMPANY_NAMEAcme Corp
SUPPORT_URLhttps://support.acme.com
ESCALATION_PHONE+1-555-0100

Reference a variable in a prompt as {{env.variables.COMPANY_NAME}}. Ellaworks substitutes the values when it compiles the prompt for a deployment, so your prompt templates stay generic while each environment fills in the right values. Variables inherited from the Global environment are labeled Inherited from Global; setting the same key here overrides it.

Add environment variables

5

Save

Optionally configure an approval gate and drift detection (see below), then click Save.

When the same variable is set at several levels, the most specific value wins: Agent overrides Fleet, which overrides the Environment, which overrides Global.

Approval gates

Turn on Approval Gate for an environment and choose Required approvers from your organization’s members. Deployments to that environment are then held as pending approval, and run only after every required approver has approved. Approval gates are available on every environment except Global.

Drift detection

Turn on Drift Detection to have Ellaworks check daily that agents deployed to that environment still match their expected configuration on the provider. Only one environment per organization can have drift detection enabled — typically production.

Your plan may limit how many environments you can create. The create form shows your current usage and offers an upgrade when you’ve reached the limit.

Why use environments?

  • Safe testing — validate changes in development before they reach production
  • Separate credentials — each environment can use its own provider API keys, stored as encrypted secrets
  • Variable substitution — the same prompt template produces different output per environment (e.g. different support URLs, company names, or escalation contacts)
  • Approval gates — optionally require named approvers to sign off before deploying to sensitive environments

Create a Fleet (Optional)

Fleets are logical groupings of agents. If you only have a few agents, you can skip this step and come back later.

2

Configure the fleet

Enter a Fleet Name, an optional Description, and optionally assign agents, then click Create Fleet. Open the fleet afterwards to add or remove agents and define Fleet Variables. An agent can belong to only one fleet.

Configure fleet details

Why use fleets?

  • Shared variables — fleet variables apply to every agent in the fleet, overriding environment values (agents can still override them)
  • Organization — group agents by function (e.g. “Customer Support”, “Sales Outbound”, “Internal Tools”) and see each deployment’s fleet in deployment details

Set up an LLM Provider (Optional)

LLM providers give Ellaworks access to language models for the playground and for governance policy evaluations. This is separate from the deployment provider credentials you set in an environment.

2

Add a provider

Click Add Provider, choose a Provider Type (OpenAI, Anthropic, Google, or OpenRouter), give it a Name, and enter your API Key. Optionally set a Base URL Override or mark it as the Default Provider for that type.

Add an LLM provider

3

Test connectivity

After saving, click Test Connection to verify the API key works. Verified providers are marked Verified in the list.

Test provider connectivity

Why set up an LLM provider?

  • Playground — test prompts interactively against real models before deploying
  • Governance — the default provider is also used for automated governance policy evaluations
  • Encrypted storage — API keys are encrypted at rest, not stored in plaintext
  • Shared access — team members can use the playground without needing their own API keys

Next steps