You can export the chain to a json file:

Python
chain.to_json()

or a dictionary:

Python
chain.to_json(return_json=True)

You can import the chain:

Python
from relevanceai import load_from_json
chain = load_from_json(json_fp_or_json)