# Adding memory (state)

Chains can be initialized with a Memory object, which will persist data across calls to the chain. This makes a Chain stateful.

## Get started

import GetStarted from "@snippets/modules/chains/how_to/memory.mdx"

<GetStarted/>

