Loading...
Loading...
Guides new users through TrueFoundry setup — account registration, email verification, credential configuration, and first deployment. Use when the user says "get started", "set up truefoundry", "new account", "register", "onboard", "I'm new", or has no credentials configured.
npx skill4agent add truefoundry/tfy-deploy-skills truefoundry-onboarding<objective>Routing note: For ambiguous user intents, use the shared clarification templates in references/intent-clarification.md.
TFY_BASE_URLTFY_API_KEYstatusaccess-tokensdeployworkspacesecho "TFY_BASE_URL: ${TFY_BASE_URL:-(not set)}"
echo "TFY_HOST: ${TFY_HOST:-(not set)}"
echo "TFY_API_KEY: ${TFY_API_KEY:+(set)}${TFY_API_KEY:-(not set)}"
[ -f .env ] && grep -c '^TFY_' .env 2>/dev/null && echo ".env has TFY_ vars" || echo "No .env with TFY_ vars"Do you already have a TrueFoundry account? If yes, I'll help you configure credentials. If not, I'll walk you through creating one.
tfy registertfyuv run --from truefoundry tfy registerIMPORTANT:is fully interactive — it requires terminal input. Let the user drive this step. Do not attempt to pipe or automate the prompts.tfy register
acme-aihttps://acme-ai.truefoundry.cloudYour TrueFoundry tenant is ready at. Next, create your first API key:<tenant-url>
- Open
in your browser<tenant-url>- Go to Settings → Access → Personal Access Tokens → Generate New Token
- Copy the token — you'll need it in the next step
export TFY_BASE_URL="https://your-org.truefoundry.cloud"
export TFY_API_KEY="tfy-..."
export TFY_HOST="${TFY_BASE_URL}"cat > .env << 'EOF'
TFY_BASE_URL=https://your-org.truefoundry.cloud
TFY_API_KEY=tfy-...
EOFSecurity: Never commitfiles with API keys to Git. Ensure.envis in.env..gitignore
tfy --version 2>/dev/null || echo "CLI not installed"pip install 'truefoundry==0.5.0'TFY_API_KEYTFY_HOSTexport TFY_HOST="${TFY_HOST:-${TFY_BASE_URL%/}}"TFY_API_SHscripts/tfy-api.shreferences/tfy-api-setup.md~/.claude/skills/truefoundry-onboarding/scripts/tfy-api.sh GET '/api/svc/v1/workspaces?limit=1'TrueFoundry Status:
- Base URL: https://your-org.truefoundry.cloud ✓
- API Key: configured ✓
- Connection: OK ✓
You're all set!</instructions>You're connected to TrueFoundry! Here's what you can do next:Deploy & Run
- Deploy a service →
skilldeploy- Deploy an LLM →
skillllm-deploy- Run a batch job →
skilljobs- Launch a notebook →
skillnotebooksManage
- List workspaces →
skillworkspaces- View running apps →
skillapplications- Check logs →
skilllogsOptional add-on: For AI Gateway features (LLM routing, rate limiting, guardrails), install the gateway skills:npx skills add truefoundry/tfy-gateway-skillsWhat would you like to do?
tfy registerTFY_BASE_URLTFY_API_KEY.envtfy registerIf tfy CLI is not installed:
uv run --from truefoundry tfy register
# or: pip install 'truefoundry==0.5.0' && tfy register
If registration service is unreachable:
Check network connectivity to https://registration.truefoundry.com
If a field validation error occurs (e.g., tenant name taken, invalid email):
The CLI will retry only the failed field — follow the prompts.
If the CLI says CAPTCHA or human verification is required:
Let it open the browser and complete the verification there.
If the browser does not open automatically, copy the URL shown by the CLI into your browser.Check spam/junk folder. Try registering again with the same email.
If the problem persists, contact support@truefoundry.com.API key is invalid or expired. Generate a new one:
1. Open your tenant URL in browser
2. Go to Settings → API Keys → Generate New Key
3. Update TFY_API_KEY with the new value
See: https://docs.truefoundry.com/docs/generate-api-keyCannot reach TFY_BASE_URL. Check:
- URL is correct (include https://)
- Network/VPN is connected
- No trailing slash in the URL.envThe .env file must be in the current working directory.
Variable names must match exactly: TFY_BASE_URL, TFY_API_KEY (no quotes around values).
The tfy-api.sh script handles .env parsing — never use `source .env`.When using tfy CLI with TFY_API_KEY, TFY_HOST is also required:
export TFY_HOST="${TFY_HOST:-${TFY_BASE_URL%/}}"statusaccess-tokensdeployworkspacesdocs