﻿---
title: codex sync cli namespace
description: Sync built codex output to S3 using a two-step plan/apply workflow. 
url: https://docs-v3-preview.elastic.dev/docs-builder/cli/codex/sync
products:
  - Elastic Docs Builder
---

# codex sync cli namespace
```bash
docs-builder codex sync --help
```

Sync built codex output to S3 using a two-step plan/apply workflow.

## Commands

<page-card>
  Upload the changes described in a plan file to S3.
</page-card>

<page-card>
  Compute a diff of what would change when deploying to S3 and write it to a plan file.
</page-card>