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

# Contracts flow

> Create, propose, and sign contracts

## Overview

Contracts are created and signed using legal identities. This guide outlines a
common contract lifecycle.

## Flow overview

```mermaid theme={null}
sequenceDiagram
  participant Client
  participant Neuron
  Client->>Neuron: Legal/CreateContract
  Neuron-->>Client: contractId
  Client->>Neuron: Legal/SendProposal
  Neuron-->>Client: proposalId
  Client->>Neuron: Legal/SignContract
  Neuron-->>Client: signed contract
```

## Steps

1. Create a contract with `Legal/CreateContract`.
2. Send a proposal to counterparties with `Legal/SendProposal`.
3. Sign the contract using `Legal/SignContract`.
4. Retrieve signed or created contracts with `Legal/GetSignedContracts` and
   `Legal/GetCreatedContracts`.

## Related endpoints

* `Legal/ProposeTemplate`
* `Legal/GetContract`
* `Legal/AuthorizeAccessToContract`
* `Legal/SignData`
