﻿---
title: stack kb connectors get-actions-connector-connectorid-oauth-start cli command
description: Start OAuth authorization (redirects to the identity provider) Behaviour flags: --dry-run — validate all inputs and exit without performing any action...
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/573/cli/stack/kb/connectors/get-actions-connector-connectorid-oauth-start
---

# stack kb connectors get-actions-connector-connectorid-oauth-start cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb connectors get-actions-connector-connectorid-oauth-start \
  --connector-id <connector-id> \
  [options]
```

Start OAuth authorization (redirects to the identity provider)
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--connector-id string required">
    An identifier for the connector.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>