Skip to content

docs: add quickstart guides and end-to-end automation guide#6024

Open
LewisDwyer wants to merge 1 commit intoInfisical:mainfrom
ritza-co:docs/add-quickstart-guides
Open

docs: add quickstart guides and end-to-end automation guide#6024
LewisDwyer wants to merge 1 commit intoInfisical:mainfrom
ritza-co:docs/add-quickstart-guides

Conversation

@LewisDwyer
Copy link
Copy Markdown

Context

Infisical has extensive reference docs but no quickstart
guide that takes a new user from zero to retrieving
their first secret. These three guides fill that gap:

  • 5-Minute Quickstart (getting-started/quickstart)
    — Cloud path: create account, store a secret, retrieve
    it with the CLI.
  • Self-Hosted Quickstart
    (getting-started/self-hosted-quickstart) — Docker
    Compose setup with infisical bootstrap for
    non-interactive admin creation.
  • End-to-End Automation
    (self-hosting/guides/end-to-end-automation) — Fully
    scripted flow from empty self-hosted instance to running
    application, chaining bootstrap, API project creation,
    bulk secret import, and infisical run.

All commands verified against existing CLI and API
reference docs. Sidebar entries added to docs.json.

Screenshots

Not applicable — docs-only change, no UI modifications.

Steps to verify the change

  1. Run the docs site locally (mintlify dev from the
    docs/ directory)
  2. Navigate to Getting Started — the two new quickstart
    pages should appear between Introduction and Concepts
  3. Navigate to Self-host Infisical → Guides — End-to-End
    Automation should appear after Automated Bootstrapping
  4. Verify all internal cross-links resolve correctly

Type

  • Fix
  • Feature
  • Improvement
  • Breaking
  • Docs
  • Chore

Checklist

  • Title follows the [conventional commit](https://ww
    w.conventionalcommits.org/en/v1.0.0/#summary) format:
    type(scope): short description
  • Tested locally
  • Updated docs (if needed)
  • Updated CLAUDE.md files (if needed)
  • Read the [contributing guide](https://infisical.co
    m/docs/contributing/getting-started/overview)

Add three new documentation pages:

- **5-Minute Quickstart** (getting-started/quickstart) — Cloud-focused
  guide: create account, store a secret, retrieve it with the CLI.
  Covers `infisical run`, `infisical export`, bulk `.env` import via
  CLI, and `gitBranchToEnvironmentMapping` config.

- **Self-Hosted Quickstart** (getting-started/self-hosted-quickstart) —
  Docker Compose setup, `infisical bootstrap` for non-interactive admin
  creation, first secret retrieval. Cross-links to the Cloud quickstart
  for CLI installation and to the automation guide for scripted flows.

- **End-to-End Automation** (self-hosting/guides/end-to-end-automation) —
  fully scripted flow from empty instance to running application:
  bootstrap, project creation via API, bulk secret import with
  `infisical secrets set --file`, manual `.infisical.json`, and
  `infisical run`. Includes gotchas for Docker networking, HTTPS
  cookies, readiness timing, and idempotency.

All commands verified against existing CLI and API reference docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@maidul98
Copy link
Copy Markdown
Collaborator

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c3693be839

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".


```bash
cd /path/to/your/project
infisical init
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep self-hosted domain on subsequent CLI commands

After logging in with --domain, the guide immediately calls infisical init/infisical run without a domain override or INFISICAL_API_URL. Our own CLI docs explicitly warn that non-US/self-hosted usage must set domain for all commands (docs/cli/commands/login.mdx warns this at lines 545-547; docs/cli/usage.mdx lines 137-143), otherwise commands default to US Cloud and can fail with auth/project lookup errors on localhost.

Useful? React with 👍 / 👎.

Comment on lines +73 to +76
infisical secrets set \
--projectId="$PROJECT_ID" \
--env=dev \
--file=".env"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Set CLI domain in automated self-hosted script

The automation script bootstraps against $DOMAIN, but later infisical secrets set/infisical run are executed without --domain (and INFISICAL_API_URL is never exported). Per the CLI domain guidance (docs/cli/usage.mdx lines 137-143), these commands default to US Cloud, so the documented end-to-end self-hosted flow can break when it tries to use a self-hosted machine token against the wrong API host.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants