---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# segmentstream dev sign-in

Print a single-use link that signs you in to the local app: the session NAME, or the current Git branch's session. It signs you in as your own app member, or with --as EMAIL as a test member that exists only in the session's data, never in production, holding exactly the --role ROLE roles (repeatable) of the ontology the session was last migrated to.

## Usage

Command syntax

```
segmentstream dev sign-in [OPTIONS] [NAME]
```

## Options

- `--port N`

  The port the local app runs on \[default: 3000; 1<=x<=65535]

- `--open`

  Open the link in your browser

- `--as EMAIL`

  Sign in as a test member with this address that exists only in the session's data

- `--role ROLE`

  A role of the local ontology the test member holds (repeatable; needs --as)

- `--workspace UUID`

  Override the linked workspace UUID

- `--api-url URL`

  SegmentStream control-plane origin

- `--output [table|json]`

  Output format \[default: table]

- `--organization ORG-ID`

  Organization for this command

- `--help`

  Show this message and exit.

[Read as Markdown ↗](https://segmentstream.com/docs/cli/dev/sign-in.md)
