Your First Enclave
This guide walks you through setting up a Tentacular enclave for your team and deploying a tentacle into it. You’ll use The Kraken Slack bot for the enclave setup and the tntc CLI for tentacle deployment.
Prerequisites
Section titled “Prerequisites”- The Kraken bot installed in your Slack workspace
- A Kubernetes cluster with the Tentacular MCP server installed (
tntc cluster checkshould pass) tntcCLI installed and authenticated (tntc login)
Step 1: Create a Slack Channel
Section titled “Step 1: Create a Slack Channel”Create a Slack channel for your team’s work. The channel name becomes the enclave name, so choose something meaningful and lowercase-friendly.
/create channel #marketing-automationsInvite The Kraken to the channel:
/invite @krakenAt this point, The Kraken is in the channel but not yet active — it’s in regular (non-interactive) mode and will not respond to general messages.
Step 2: Initialize the Enclave
Section titled “Step 2: Initialize the Enclave”Tell The Kraken to set up the channel as a managed workspace. You must be the Slack channel owner to do this.
@kraken set up this channel for our teamThe Kraken will:
- Verify you are the channel owner
- Ask two quick questions to determine the right resource allocation (CPU, memory, storage)
- Provision the enclave: Kubernetes namespace, Postgres database, S3 storage, RBAC, network policies, and resource quota
- Post OIDC sign-in links for everyone in the channel
This takes about 10–20 seconds. When it’s done, The Kraken confirms:
This channel is now your team's workspace. I need everyone to sign inbefore we start — it's a one-time security check. [Sign in link]Step 3: Add Team Members
Section titled “Step 3: Add Team Members”After the enclave is provisioned, invite people to the Slack channel:
/invite @bob @carolJoining the channel makes them visitors. To grant full access, the enclave owner adds them as members:
@kraken add @bob@kraken add @carolThe Kraken resolves each user’s Slack email, confirms their OIDC identity, and registers them as enclave members.
To verify the current member list:
@kraken membersOr via CLI:
tntc enclave info marketing-automationsStep 5: Deploy Your First Tentacle
Section titled “Step 5: Deploy Your First Tentacle”With the enclave active, deploy a tentacle into it using the --enclave flag. The enclave flag tells tntc which namespace to use and automatically applies the enclave’s permission defaults.
Tentacles for this enclave live at ~/tentacles/marketing-automations/<tentacle-name>/ on disk. This is the working copy in the three-layer model — source is modified here, committed to Git, then deployed to the cluster.
cd ~/tentacles/marketing-automations/my-tentacletntc deploy --enclave marketing-automationsWithout the --enclave flag, tntc attempts to infer the enclave from context. If you belong to exactly one enclave, it auto-resolves. With multiple enclaves, the flag is required.
You can also ask The Kraken to help build and deploy a tentacle:
@kraken build me a workflow that checks competitor pricing every morningand posts a summary hereThe Kraken handles the full cycle: clarifying questions, scaffold selection, build, test, and deploy.
Step 6: Check Enclave Status
Section titled “Step 6: Check Enclave Status”Verify the enclave and the newly deployed tentacle are healthy:
# Enclave overviewtntc enclave info marketing-automations
# Tentacle status within the enclavetntc status marketing-automations/competitor-monitorOr ask The Kraken:
@kraken what's running?Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| ”I can only initialize enclaves for channel owners” | You are not the Slack channel owner | Transfer channel ownership or ask the owner to run the initialization |
enclave not found on deploy | Enclave name or namespace doesn’t match | Run tntc enclave list to see available enclaves |
| Member not appearing after invite | Owner has not added them yet | Run @kraken add @user to add them as a member |
| Tentacle deploy fails with “enclave frozen” | Channel was archived | Unarchive the Slack channel to unfreeze the enclave |
Next Steps
Section titled “Next Steps”- Managing Enclave Members — adding/removing members, transferring ownership, freezing
- Your First Tentacle — building a tentacle from scratch with nodes and tests
- Team Collaboration Concepts — permission presets and the two-layer check