Skip to main contentWhen you create a task, Niteshift provisions a cloud environment and sets up your repository automatically.
What setup does
- Clones your repository — Fetches the specified branch into the sandbox
- Detects package manager — Identifies npm, pnpm, yarn, or other tooling
- Installs dependencies — Runs the appropriate install command
- Injects environment variables — Adds any secrets you’ve configured
- Configures port forwarding — Exposes preview ports you’ve defined
Guided setup
For repositories with specific requirements, run guided setup from repository settings. The AI asks questions about your project:
- What framework does this use?
- How do you start the development server?
- Are there any required services (databases, APIs)?
- What setup scripts need to run?
Based on your answers, Niteshift configures the sandbox environment and stores these settings for future tasks.
Rerunning Initial Setup
If automatic detection doesn’t work for your project:
- Go to Settings → Repositories → [Your Repo]
- Click Run Setup
- Answer the AI’s questions about your project
- Review and confirm the generated configuration
The agent uses these settings for all future tasks on this repository.
Per-repo instructions for agent
Agents have access to your AGENTS.md files (or equivalent), but you can also add information in the repository settings section of the settings page.
These instructions will be injected to your system prompt when an agent is started for that repository.