# Integration CLI commands

> This page describes the CLI command that are used to manage integrations.

Source: https://docs.uniform.app/docs/guides/cli/commands/integration

The commands in this section allow you to manage project assets
that involve Uniform's integrations features. This includes:

- Managing team-level custom integration definitions
- Managing custom integrations' custom edgehancer code
- Managing installation of integrations on projects

> **Tip:**
>
> All integration related commands require an API key with Team Admin level permissions.
>
> Examples assume you have set the `UNIFORM_API_KEY`, `UNIFORM_PROJECT_ID`, and `UNIFORM_TEAM_ID` environment variables. Optional command arguments can be used in place of these if desired.

## Integration definition commands

### `uniform integration definition register`

Registers a custom integration definition on a team. The API key used must have team admin permissions.

example:

```bash
uniform integration definition register ./mesh-manifest.json
```

### `uniform integration definition remove`

Deletes a custom integration definition from a team. This will uninstall it on any active projects. Existing usages of the integration may break. The API key used must have team admin permissions.

example:

```bash
uniform integration definition remove integration-hello-world
```

### `uniform integration definition edgehancer deploy`

Deploys a custom edgehancer hook to run when a data resource of a specific archetype is fetched. The API key used must have team admin permissions.

example:

```bash
uniform integration definition edgehancer deploy --connectorType playground --archetype default --hook preRequest ./preRequest.mjs
```

### `uniform integration definition edgehancer remove`

Deletes a custom edgehancer hook from a data connector archetype. The API key used must have team admin permissions.

example:

```bash
uniform integration definition edgehancer remove --connectorType playground --archetype default --hook preRequest
```

## Integration installation commands

### `uniform integration install`

Installs an integration to a project. The integration may be built-in or custom. Custom integrations must be registered to the parent team first.

example:

```bash
uniform integration install integration-hello-world
```

### `uniform integration uninstall`

Uninstalls an integration from a project. Existing usages of the integration may break.

example:

```bash
uniform integration uninstall integration-hello-world
```
