DOCUMENTATION & QUICKSTART

Getting Started with Flash

Flash replaces passive wiki documents and generic training courses with automated, context-grounded CI/CD gate checks. Get your first repository protected and gated in under 3 minutes.

Zero Code Stored (RAM Only)·Read-Only Scopes·3-Minute Setup

The 3-Minute Setup Guide

Click through each step to see code snippets and configuration instructions.

Step 1 of 4
Step 01 Overview

Connect Your Repository (Read-Only)

Install the Flash GitHub App on your organization or a single pilot repository.

Key Guarantees & Details:

  • ✓No source code is ever stored on disk or persistent databases (0ms retention).
  • ✓Per-repository scoping lets you trial on a single non-critical microservice first.
  • ✓Takes less than 60 seconds with no credit card or complex setup required.
Terminal Command
# Step 1: Install the GitHub App via browser or GitHub CLI
# Select 'Only select repositories' to pilot on a single service
# Permissions requested:
# - Contents: Read-only
# - Pull Requests: Read-only
# - Checks: Read & write (to report gate status)

# Verify connection in terminal:
npx useflash auth login
Pro-tip: You can test any drill locally before opening a pull request using npx useflash drill.
CONFIG GENERATOR

Customize Your .flash/gate.json Policy

Adjust the controls below to generate your production-ready configuration file in real time.

Save this generated file to your repository at .flash/gate.json. Flash automatically loads policy overrides per service branch.

.flash/gate.json
{
  "$schema": "https://useflash.ai/schemas/gate-v1.json",
  "serviceName": "api-core",
  "enforcementMode": "STRICT_BLOCK",
  "passingScore": 80,
  "tokenTtlHours": 24,
  "protectedPaths": [
    "src/api-core/**",
    "src/security/**"
  ],
  "excludedPaths": [
    "**/*.md",
    "docs/**",
    "**/*.test.*"
  ]
}
Validated against Schema v1.0 • Works with Cloud SaaS & Private VPC runners.
CLI CHEATSHEET

Command-Line Reference (@useflash/cli)

Engineers can run, verify, and clear drills locally without leaving their favorite terminal or IDE.

npx useflash initInteractive repository onboarding wizard. Generates .flash/gate.json and GitHub Action workflow.
npx useflash drillLaunches an interactive failure-mode drill in your local terminal for currently modified files.
npx useflash statusDisplays active deployment tokens, clearance levels, and remaining expiration TTLs.
npx useflash verifyPre-commit check that validates whether your identity holds clearance for staged Git changes.
npx useflash break-glassEmergency override for P0 incidents. Unlocks instant bypass with an audit log notification to Slack.
KEY CONCEPTS

Frequently Asked Questions

Do I have to take a drill on every pull request?

No. Once an engineer clears a drill for a microservice, they receive an active deployment token valid for 24 hours (or your configured TTL). Any subsequent PRs touching that service merge with instant green checks.

What happens during an emergency P0 outage hotfix?

Designated admins and tech leads can trigger npx useflash break-glass or toggle emergency bypass in the UI. This unlocks an instant merge while dispatching an audit notification to your security Slack channel.

Where do the drills and questions come from?

Flash analyzes your repository AST diffs, past merged PRs, incident post-mortems, and internal RFCs. It formulates scenario challenges simulating real failure modes rather than trivia.

Can we run this entirely inside our private AWS/GCP VPC?

Yes. Our Tier-1 Enterprise deployment includes a Docker runner that executes inside your private subnet and communicates with AWS Bedrock PrivateLink or Azure OpenAI. Read our Trust & Security Architecture →

READY TO RUN YOUR FIRST GATE?

Experience the Production Gate Dashboard

Try the interactive gate check simulation or sign in to configure your personal Gravatar profile and token settings.