Connect
Modal connects with a token ID and secret:- Open API Tokens: Settings → API Tokens → New Token. Name it Hoista.
- Copy the whole line Modal shows, such as
modal token set --token-id ak-… --token-secret as-…. Hoista needs both the token ID and the secret, and takes both from that line. - In Desktop, open Accounts, choose Modal and paste the line.
hoist accounts add modal --name NAME --token-stdin, and add --account <workspace> if the token reaches more than one workspace.
What you can do
- Deploy a Modal app from a folder.
- See logs on the Logs tab and metrics on Metrics.
- Use the Modal tab for Modal’s own operations.
- See what Modal has billed the workspace on Billing.
- Delete an app or volume after you confirm it by name.
Bring in existing resources
Hoista looks for apps and volumes when you connect. In Desktop, add them as described in Bring in an existing project. From the CLI:hoist projects manage my-app when you want Hoista to make changes. To look again, run hoist accounts refresh <account> with the name or ID from hoist accounts.
Related
Providers
What Hoista supports on each provider.
Connect hosting accounts
Connect, check and rotate accounts.
Bring in a project
Add what an account already runs.