| title | Getting Started |
|---|---|
| description | A practical first-hour setup guide for Code Canvas: workspace setup, project import, AI workflow, and first deploy. |
If you're brand new to Code Canvas, this guide gets you productive quickly without guesswork.
- Create or sign in to your account
- Open a starter project (or import from Git)
- Configure your runtime and environment variables
- Run your app locally in the browser workspace
- Use AI to accelerate one real task
- Commit and deploy
After sign-in, choose one of these starting points:
- Blank project — best for custom setups
- Template — best for React, API, and hardware starter flows
- Import from Git provider — best for existing repositories
- Open the Git / Import action from the workspace landing view
- Select GitHub, GitLab, or Bitbucket
- Choose a repository and target branch
- Wait for the file tree to index
- Open
READMEand the package manifest first (package.json,pyproject.toml, etc.)
| Practice | Why it helps |
|---|---|
| Start from the default branch | Reduces merge surprises |
| Open lockfiles early | Confirms package manager and dependency strategy |
| Run tests before changes | Establishes a clean baseline |
Open Environment and set variables in the right scope:
- Preview: local workspace runs and experiments
- Shared: defaults used across environments
- Production: deploy-only values
From the terminal:
npm install
npm run devThen verify:
- App preview opens correctly
- Console has no startup errors
- Hot reload works on file save
- Basic lint/test checks run
Use a scoped prompt instead of a broad one. Example:
“Add loading and error states to
src/components/UserList.tsx, keep existing styling, and include tests.”
Strong prompts include:
- File path(s)
- Expected behavior
- Constraints (framework, style, test requirements)
- Definition of done
See AI Assistant and MCP Servers & Agent Skills for deeper setup.
- Review diffs in the Git panel
- Stage focused changes
- Commit with a clear message
- Push branch and open a PR
- Deploy from the Deployment panel
- Daily quality check: lint + tests + format
- Pre-merge guardrail: validate changed files + summarize risk
- Release helper: bump version + changelog + deploy
To automate these, continue with Workflows and Deployment.
Learn editor, terminal, package, and Git power features. Speed up navigation and editing with the core keymap. Fix common setup, runtime, and deployment issues fast.