# `Chatto.Auth.V1.ServerSetupService`
[🔗](https://github.com/xtian/elixir-chatto/blob/v0.1.0/lib/chatto/generated/chatto_auth_v1_server_setup_service.ex#L3)

Creates the first owner on a new server. No session or setup secret is required.

# `complete_setup`

```elixir
@spec complete_setup(Req.Request.t(), Chatto.Auth.V1.CompleteSetupRequest.t()) ::
  {:ok, Chatto.Auth.V1.CompleteSetupResponse.t()}
  | {:error, Chatto.Connect.Error.t()}
```

Public while setup is available. Atomically creates the owner and server
settings, then permanently closes setup. Concurrent or later submissions
fail with FAILED_PRECONDITION. A lost response can be recovered by signing in.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
