---
title: Quickstart
description: Connect a GitHub repository and choose what Tripwire checks.
---

Open your repository in a coding agent and paste this prompt.

**Help me set up Tripwire for this repo**

> Help me set up Tripwire for this repo.
>
> Identify the repository from its Git remote. Use Tripwire MCP if it’s available in this session. Otherwise, use the Tripwire CLI. Check the session with `npx @tripwire-sh/cli whoami`. If signed out, start `npx @tripwire-sh/cli login --no-browser`, send me the browser link and code, and keep the command running while I approve. When it finishes, run `whoami` again to verify that the account can access the intended organization.
>
> If the repository needs the GitHub App, send me the installation link and wait for approval. Confirm the repository is connected before continuing.
>
> Check which rules the repository already uses. Suggest a short starting set based on the repo. Ask before saving rules or turning on the gate. After setup, show me where to find the repository’s Activity.

> **Info**
>
> You’ll finish sign-in and approve the **GitHub App** in your browser when prompted. [Agent sign-in guide](/agent-auth).

## Set up in the dashboard

Connect your GitHub repository in [Tripwire](https://app.tripwire.sh). In **Rules**, install the checks you want and set their thresholds. Turn on the **gate** to apply them.

## View activity

As contributions come in, open **Activity** for your repository. Select a run to see the checks Tripwire evaluated and the actions it took.

<a className="docs-capture docs-capture-activity" href="/screenshots/activity.jpg">
  <img src="/screenshots/activity.jpg" alt="Repository Activity showing passed and blocked pull requests. Open full screenshot." />
</a>

Activity groups runs by contribution and shows the latest outcome.
