Paste your code

If code is not in a repository, Tokay accepts pasted text, folders, or uploaded files and lets you edit them before analysis. This flow works for code you wrote, AI generated code, or files from a tutorial.

AI agent? Start with llms.txt.

Start with paste

From pasted code to a deployed Service

  1. 1

    Add the code. Paste text into the editor, drop in a folder, or choose individual files. Edits are available before analysis begins.

  2. 2

    Analyze the source. Choose Analyze so Tokay can detect the Service type, runtime, entry point, dependencies, environment variables, and supported database connections.

  3. 3

    Review the setup and source changes. Any proposed change appears as a diff and waits for your approval.

  4. 4

    Deploy the approved setup. Choose Deploy after the configuration matches the application. The deployment tracker shows build and health check progress until the Service is live.

What analysis detects and prepares

  • Pasted code cleanup. When pasted text includes an explanation around the code, Tokay separates the code before analysis and shows the result in the editor.

  • Service detection. Tokay identifies web apps, scheduled jobs, webhook Functions, and background workers, then prefills the Service name and entry point.

  • Dependency manifests. If the source imports packages but lacks package.json or requirements.txt, Tokay proposes a file with the dependencies it detected. The exact diff waits for review.

Source changes wait for approval

Hardcoded secrets

When Tokay detects a likely API key or credential in source, it proposes moving the value into an encrypted Project Secret and changing the code to read an environment variable. The exact diff appears before you decide whether to apply it.

Other deployment fixes

When deployment needs a source change, the proposal explains the reason and shows the exact diff. Declining it leaves the original source unchanged.

Read the detailed walkthrough in the docs