Skip to main content
Connections and secrets hold credentials, so a spec never creates them. You set them up once in Tilde, and the spec references them by name. Everything else in a spec is created and updated by the apply.

Connections

Reference a connection by its provider/name slug:
Every built-in provider has a typed ref, such as github, slack, linear, openai, e2b, or modal. Use connection.ref for anything else, such as an MCP server or a Tilde tool server.

Secrets

A secret is a named value in Connections → Secrets. Reference it with secret.ref, for example in a sandbox blueprint’s environment. Its value never enters your code.
Literal values live in your code, so never put a credential in one. Ontology environments bind secrets the same way. See Bind connections and secrets.

When something is missing

Preflight lists every problem at once, before anything changes. Each comes with a link:
  • A missing connection links to its setup page, with the provider, name, and type filled in.
  • A missing secret opens the Secrets page with a new row, the key filled in.
  • A connection that is not ready, or offers no tool you name, is reported the same way.
Fix each one, then run tilde deploy again.

Tools

Select a connection’s tools with .tools(). On a typed ref, the tool names are a closed list from Tilde’s catalog, so a misspelt name does not compile.
  • ALL, or "*", selects every tool the connection offers when the apply runs.
  • .untypedTools() takes any name, and combines with .tools() in any order. Upgrade @trytilde/iac to get newer catalog names typed.
  • Tilde checks every name in preflight, and suggests the nearest: “did you mean github_get_issue?”.
  • A tool source ends up with exactly the tools you list.

Type your own connections

tilde iac types reads your organization’s connections, including MCP servers, tool servers, and ontology environments, and writes a .d.ts. Then connection.ref("acme_mcp/prod") is typed with that connection’s real tool names.
Include the file in your tsconfig.json, and run the command again when a connection’s tools change.