# Generation and validation

Use the three-step generation wizard to validate your setup and start generating.

Open it by selecting **Generate** in any **configuration** panel.

Syntho validates your **source schema** and **destination schema** before writing any data.

{% hint style="info" %}
Validation inspects schema only. It does not write data.
{% endhint %}

<figure><img src="https://1383248054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU61B9DqtWCNO3Z30vnjh%2Fuploads%2FnWDGNjMvqf6xykXvRVBp%2Fimage.png?alt=media&#x26;token=06d5402d-8746-4bd1-bfbc-6e630ea1fd65" alt="Three-step generation wizard showing Source validation, Destination validation, and Generate steps"><figcaption><p>Run the validations before generating</p></figcaption></figure>

### Before you start

Make sure these basics are in place:

* Your workspace is configured (included/excluded tables).
* Sensitive columns are protected with generators.
* Foreign keys are correct for your included tables.
* Your destination user has the needed permissions for write optimizations.

### The 3 steps

{% stepper %}
{% step %}

### Step 1. Validate source db

Detect schema drift between your workspace and the source database.

If needed, sync your workspace before you continue.

Go to [Step 1. Validate source db](https://docs.syntho.ai/configure-a-data-generation-job/generation-and-validation/validate-and-synchronize-workspace).
{% endstep %}

{% step %}

### Step 2. Validate destination db

Verify the destination can accept your included tables and columns.

Fix issues now to avoid runtime failures.

Go to [Step 2. Validate destination db](https://docs.syntho.ai/configure-a-data-generation-job/generation-and-validation/validate-and-synchronize-workspace-1).
{% endstep %}

{% step %}

### Step 3. Generate

Review the job summary and tune performance settings.

Start generating and monitor progress.

Go to [Step 3. Generate](https://docs.syntho.ai/configure-a-data-generation-job/generation-and-validation/view-and-adjust-generation-settings).
{% endstep %}
{% endstepper %}

### Notes and common gotchas

* You must resolve **issues** in validations to generate.
* Destination validation focuses on **included** tables.
* Some destination optimizations affect **all** tables during writing.

### Related pages

* Configure tables and generators in [Table view](https://docs.syntho.ai/configure-a-data-generation-job/configure-table-settings).
* Review sensitive data coverage in [Main hub](https://docs.syntho.ai/configure-a-data-generation-job/privacy-dashboard).
* Manage keys and relationships in [Manage foreign keys](https://docs.syntho.ai/configure-a-data-generation-job/manage-foreign-keys).
* Debug runs via [Logs and monitoring](https://docs.syntho.ai/deploy-syntho/logs-and-monitoring).
* Tune bigger jobs in [Large workloads](https://docs.syntho.ai/overview/get-started/syntho-bootcamp/9.-large-workloads).

**Next:** start with [Step 1. Validate source db](https://docs.syntho.ai/configure-a-data-generation-job/generation-and-validation/validate-and-synchronize-workspace).
