> ## 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

* [Propose a contract template](/neuron-api/api-reference/contracts/propose-contract-template)
* [Get contract](/neuron-api/api-reference/contracts/get-contract)
* [Authorize access to contract](/neuron-api/api-reference/contracts/authorize-access-to-contract)
* [Sign data](/neuron-api/api-reference/contracts/sign-data)
