Skip to content
Provider · Deploy

Modal — Ashlr Stack Provider

Modal: Serverless compute for AI + data. Token stored in Phantom. Review adapter-specific setup, credential and MCP requirements in Ashlr Stack.

Deploy · API key KEY-ONLY · supplied credential attachment
Modal — Serverless compute for AI + data. Token stored in Phantom.
Dashboard ↗

One command

Run one provider setup from an initialized project. Its adapter may handle auth inputs, run its available credential checks, then attempt persistence through Phantom. Supabase, Neon, Turso and Vercel have source resource-creation branches; other adapters attach accounts or supplied credentials. Inspect actual results.

stack add modal

Or retrieve catalog matches for what you're building via stack recommend:

stack recommend "host a Next.js frontend"

Auth flow

Supply the adapter's API-key inputs. Some checks only validate structure or a limited endpoint; additional credentials and manual setup may be needed.

How-to: Create a token in the Modal dashboard and paste it.

Secret slots

stack add modal has these 1 catalog secret slot; verify which values its adapter actually materializes through Phantom:

  • MODAL_TOKEN

Use stack env export --example for an empty-key skeleton. Stack does not automatically fill env files or resolve credential placeholders. stack exec -- <cmd> forwards to installed Phantom exec; configure and verify the app separately.

  • Vercel — Frontend platform. Stores a scoped access token for deploys + env sync.
  • Railway — Infra from a repo. Project-level token stored in Phantom.
  • Fly.io — VMs at the edge. Machines API token stored in Phantom.
  • Cloudflare — Workers, R2, D1. Account id inferred from the token's scope.
  • Render — Zero-config hosting. API key stored in Phantom.

FAQ

Do I need a Modal account to use it with Stack?

Use an existing Modal account and permissions appropriate to the adapter. Creation or attachment behavior is provider-specific. Supply the adapter's API-key inputs. Some checks only validate structure or a limited endpoint; additional credentials and manual setup may be needed. If you don't have a credential yet, create one at https://modal.com and supply the required inputs; inspect verification and persistence results.

Where does Stack store my Modal credentials?

Credential persistence uses the installed Phantom Secrets interface. The catalog declares slot names (MODAL_TOKEN); actual materialized outputs can differ. Stack handles supplied values in memory and records dedicated names in config; manual files and freeform metadata are not generally redacted.

Can I rotate or revoke this integration later?

Use `stack remove modal` for local Modal configuration/MCP cleanup and attempted Phantom cleanup; upstream resources remain. Cleanup can refuse or leave keys stored. Rotate or revoke the underlying Modal credentials through https://modal.com, then update and verify each consumer separately. Doctor does not rotate tokens and can skip already-stored names.

Outbound