# geni integration get (/cli/integration/get)



```sh
geni integration get <service> [flags]
```

Returns setup details for one integration: OAuth scopes available, fields the credential will produce, and the env var names you'll get when using it with [`geni exec bash`](/cli/exec/bash).

## Synopsis [#synopsis]

```sh
geni integration get slack
geni integration get salesforce --json
geni integration get salesforce --field secretSchema
```

| Flag             | Notes                                                    |
| ---------------- | -------------------------------------------------------- |
| `<service>`      | Service slug.                                            |
| `--json`         | Machine-readable output.                                 |
| `--field <path>` | Print one dotted-path field instead of the whole record. |

## Output [#output]

```
slack    Slack
type:    oauth2

description:
  Send messages, react to events, and read history as a specific user.

OAuth scopes (read):
  channels:history    history of public channels
  groups:history      history of private channels
  …

OAuth scopes (write):
  chat:write          send messages as the user
  reactions:write     add reactions
  …

Bash env vars set when used:
  $SLACK_ACCESS_TOKEN_<id>, $SLACK_BOT_TOKEN
```
