<!-- KeepSnappy docs for keepsnappy CLI 0.1.0-alpha.35 -->

# Leaving KeepSnappy

> How to take KeepSnappy out of your app and your CI, stop its keys and Slack messages, and ask for your data to be deleted.

This page takes KeepSnappy out again: the changes init made, the GitHub secrets, the keys, the coding agents, Slack messages and your data. No command undoes init. You undo each small change by hand.

## 1. Undo what init changed

Init changes only these. Undo the ones it made in your repo; the history of each file shows which:

- `.github/workflows/keepsnappy.yml`, the KeepSnappy workflow. Delete the file. Your other workflows were never changed.
- `keepsnappy.yml`. Delete the file.
- Your Metro config. If init created `metro.config.js`, delete it. If init wrapped your existing CommonJS config, remove the added `require` for `@keepsnappy/react-native/metro` and the `withKeepSnappy(…)` wrapper. For an ES module such as `metro.config.mjs`, undo the wrapper and `import` from `@keepsnappy/react-native/metro.js` if you added them by hand.
- `app.json`, or the `app.config.*` file (such as `app.config.ts`) where you added the plugin line by hand. Remove `@keepsnappy/react-native` from the `plugins` list. A bare React Native app has no such line.
- `.gitignore`. Remove the lines `keepsnappy-out/` and `.keepsnappy/`.
- `package.json` and your lock file. Remove the SDK and the `keepsnappy` command; this also updates the lock file:

```sh
npm uninstall @keepsnappy/react-native @keepsnappy/agent
```

With pnpm or yarn, use its own remove command.

A bare React Native app may also have lines you added by hand to leave the SDK out of store builds ([Store builds](https://keepsnappy.com/docs/sdk.md#store-builds)). Remove the `@keepsnappy/react-native` exclude lines from `Podfile` and `settings.gradle`, then install the pods again and commit `ios/Podfile.lock`.

If you installed KeepSnappy's setup instructions for a coding agent ([Set up with a coding agent](https://keepsnappy.com/docs/coding-agent.md)), also delete their folder: `.claude/skills/keepsnappy-setup/` for Claude Code, `.agents/skills/keepsnappy-setup/` for Codex.

Commit, and rebuild the app. A build without the plugin and the Metro wrapper has no SDK in it.

## 2. Delete the GitHub secrets

In GitHub, open **Settings → Secrets and variables → Actions** and delete what you added for KeepSnappy. Or run:

```sh
gh secret delete KEEPSNAPPY_KEY
gh secret delete KEEPSNAPPY_READ_KEY
gh secret delete EXPO_PUBLIC_KEEPSNAPPY_KEY
gh variable delete KEEPSNAPPY_API
```

`KEEPSNAPPY_READ_KEY` is there only if you set up [investigation in CI](https://keepsnappy.com/docs/ai-act.md). The last two are there only for an [Android job](https://keepsnappy.com/docs/android.md#android-emulator). If you added an AI key only for the AI steps, delete it too: `ANTHROPIC_API_KEY` for Claude, `OPENAI_API_KEY` for Codex.

## 3. Stop the keys

A key in a deleted secret is still a working key. Stop it on **Setup** in the dashboard. Only owners and admins can.

- The CI key. The dashboard cannot stop the current CI key, only replace it. So replace it with a new key that you throw away, stop the old one, then ask the KeepSnappy team to stop the new one. Step by step: choose **Make a new key** and confirm, and the dashboard shows a new key once. Do not save it anywhere. The old key is now the previous key: choose **Stop it now** and confirm. The old key fails from then on. The new key still works until the KeepSnappy team stops it ([step 5](#5-ask-for-your-data-to-be-deleted)).
- Coding agents. Each connected coding agent has its own read key. Choose **Disconnect** on it and confirm. Agents and MCP servers that use that key fail from then on.
- The SDK key. It can only send measurements, and the dashboard has no button to stop it. Ask the KeepSnappy team to stop it.

## 4. Stop Slack messages

If your app posts results to Slack, write to <support@keepsnappy.com> and ask the KeepSnappy team to remove it. The team deletes the app's Slack setup and the stored webhook URL. To pause instead, ask for posting to be turned off: the setup is kept, so it can be turned on again. You can also delete the incoming webhook in Slack at any time. Nothing posts to the channel after that.

The [shared result links](https://keepsnappy.com/docs/slack.md#shared-result-links) in messages already sent keep working until they expire, and links made before 14 November 2026 do not expire. In the same e-mail, ask the team to revoke every link of the app.

## 5. Ask for your data to be deleted

The dashboard cannot delete an app or an organization. Write to privacy@keepsnappy.com from the e-mail of an owner of your organization. Say:

- the name of your organization, and of each app to delete, or that the whole organization goes;
- that the remaining CI key and the SDK key should be stopped;
- who should lose access: a member is also removed by the KeepSnappy team.

Until your request is done, [Your data](https://keepsnappy.com/docs/data.md#how-long-data-is-kept) says how long each kind of data is kept. The [privacy policy](https://keepsnappy.com/privacy) says requests are answered within one month.

All KeepSnappy docs for agents: https://keepsnappy.com/llms.txt
