SuperAPI AI Directory

self-hosted

General & other

View repository

Updated 10-16 08:08

About this skill

Self-Hosted Scalekit Deployment

Guardrails

  • MUST point the app at the self-hosted SCALEKIT_ENVIRONMENT_URL (https://app.<your-domain>), not app.scalekit.com.
  • MUST NOT send registry tokens, SMTP credentials, or Postgres/Redis credentials in plaintext or commit them to version control — pass them as Kubernetes secrets / Helm --set-file values.
  • MUST NOT confuse the plugin's tooling MCP (https://mcp.scalekit.com, used only for setup guidance) with the self-hosted app's own auth service — the tooling MCP stays cloud-based; the app's SCALEKIT_ENVIRONMENT_URL is what runs air-gapped/on-prem.
  • MUST ask the decision-flow questions one at a time before recommending eval vs. production steps.

These reference files ship next to this SKILL.md under references/ in the skill package. Open them with the file tool (absolute path under the installed skill dir, or relative from this skill folder):

  • references/quickstart.md — Evaluation deployment (bundled databases)
  • references/production-deployment.md — Full production steps, setup script, and portal flow
  • references/configuration.md — values.yaml field reference and examples
  • references/troubleshooting.md — Diagnostics and fixes
  • references/upgrades.md — Upgrades and maintenance

If a references/*.md path is not readable in this session, tell the user and fall back to the high-level steps in this file plus Scalekit distribution docs.

Use this skill when the user needs to stand up their own Scalekit instance on Kubernetes (Helm chart from the distribution portal) instead of using Scalekit Cloud.

When to use self-hosted

Self-hosted Scalekit runs the full platform (auth service + dashboard) on the user's own Kubernetes cluster via Helm.

Common reasons:

  • Data residency requirements
  • Network isolation / air-gapped
  • Compliance (HIPAA, FedRAMP, etc.)
  • "on prem", "self-hosted", "self hosted Scalekit", etc.

Key difference from cloud: The SCALEKIT_ENVIRONMENT_URL and admin dashboard come from the user's deployment (https://app.<your-domain>), not app.scalekit.com.

High-level decision flow

Ask one question at a time:

  1. Evaluation (fast, uses bundled Postgres/Redis subcharts) or production (external services)?
  2. Target environment (GKE, other cloud K8s, Minikube, air-gapped)?
  3. Do they have a domain + TLS + GatewayClass ready?
  4. Do they have a registry token from the Scalekit distribution portal?

Then load the matching reference:

  • Evaluation → references/quickstart.md
  • Production → references/production-deployment.md
  • Configuration details → references/configuration.md
  • Problems → references/troubleshooting.md
  • Later maintenance → references/upgrades.md

After the instance is running — integration

  • Dashboard at https://app.<your-domain>
  • SCALEKIT_ENVIRONMENT_URL from their deployment
  • Credentials from the self-hosted dashboard
export SCALEKIT_ENVIRONMENT_URL="https://app.<your-domain>"

Then continue with the normal SaaSKit skills (same skill names; slash form /saaskit:<name> is for clients that support skill slash-commands — otherwise load the skill by name):

Goal Skill Self-hosted note
Login + sessions setup-saaskit / framework variant Use the self-hosted URL + credentials
Production readiness production-readiness-saaskit Adapt network checks for internal cluster
Validate connection testing-auth-setup Point at self-hosted env
SDK / auth errors scalekit-code-doctor Same code, different env values

MCP note: The plugin tooling MCP (https://mcp.scalekit.com) stays cloud. Your app uses the self-hosted SCALEKIT_ENVIRONMENT_URL.

Quick requirements (high level)

  • K8s 1.27+
  • Postgres 15+ (3 DBs: scalekit, webhooks, openfga)
  • Redis 6.2+
  • SMTP
  • Domain + wildcard DNS + HTTPS (Gateway API preferred)
  • Registry token from distribution portal

For the full list and provider specifics, load the references.

Source of truth: Official self-hosted docs (/self-hosted/*).


Did this help?

Share the cluster/provider and exact step (or error) if they hit issues. We can refine the references.