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: Sign In (All Team Members)
Section titled “Step 3: Sign In (All Team Members)”Each person in the channel — including you — needs to complete OIDC sign-in once. This links their Slack identity to their cluster identity and registers them as an enclave member.
Click the sign-in link The Kraken posted. A browser window opens, prompts for your company SSO credentials, and closes. The Kraken posts a confirmation in the channel when each person completes sign-in.
After everyone has signed in:
Everyone's verified. You're all set up. What would you like to automate?Step 4: Invite Team Members to the Channel
Section titled “Step 4: Invite Team Members to the Channel”If you need to add more people after initial setup, invite them to the Slack channel the normal way:
/invite @bob @carolThe Kraken detects the new members and sends them sign-in links automatically. Once they complete OIDC sign-in, they’re registered as enclave members.
To verify the current member list:
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 | OIDC sign-in not completed | Ask the member to click the sign-in link The Kraken posted |
| 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