> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackshift.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# stackshift agent setup

> stackshift agent setup [flags]

<Note>
  This page is generated from the StackShift CLI command definitions.
</Note>

```
stackshift agent setup [flags]
```

### Options

```
      --apply                merge only the named Stackshift entry with backup and ownership evidence
      --client string        canonical agent client ID
      --config-file string   explicit client configuration path
      --directory string     project directory (default current directory)
  -h, --help                 help for setup
      --scope string         explicit project or user scope; empty for hosted/manual clients
```

### Options inherited from parent commands

```
      --api-url string       StackShift API URL
      --app string           application name or ID
      --color string         color output: auto, always, or never (default "auto")
      --debug                show request diagnostics
      --environment string   project environment
  -o, --output string        output format: table, json, yaml, or name (default "table")
      --profile string       configuration profile
      --project string       project name or ID
  -q, --quiet                suppress progress output
      --timeout duration     request timeout (default 30s)
      --token-file string    mode-0600 token file
      --token-stdin          read a CI token from stdin
  -y, --yes                  confirm risky operations
```

### SEE ALSO

* [stackshift agent](/cli-reference/stackshift_agent)	 - Manage durable agent threads and runs


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.