# Generate a SBOM

Xygeni allows to generate a SBOM for a certain project.&#x20;

Two SBOM formats are currently supported:

* **CycloneDX** (JSON schema) .See <https://cyclonedx.org/> for full details.
* SPDX, in JSON serialization format, standard ISO/IEC 5962:2021. See <https://spdx.dev/> for full details.

&#x20;You have two options to generate an SBOM:

1. [From the Web User Interface](#sbom_options)
2. [Using the Xygeni CLI](#sbom_options-1)

### Generate a SBOM from the Web User Interface <a href="#sbom_options" id="sbom_options"></a>

Once you have selected a project, the **Inventory** >> **Repositories** will present you the **Download SBOM** option.

<figure><img src="https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2FeKohDyyJP7CoZFxnr25R%2Fimage.png?alt=media&#x26;token=ec47ba50-6dcc-405e-9330-59112e54fb87" alt=""><figcaption></figcaption></figure>

You can also open a project's detail slide to download the SBOM.

<figure><img src="https://4096647782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUTz59rJLkJBjiRWAMknU%2Fuploads%2FK248lfCyBrfQnKuj3BSL%2Fimage.png?alt=media&#x26;token=0422a657-e5aa-43ba-85ee-0359c55452c9" alt=""><figcaption></figcaption></figure>

### Generate a SBOM with the Xygeni CLI <a href="#sbom_options" id="sbom_options"></a>

You can also generate a SBOM with the xygeni CLI. This is useful if you need the SBOM during a build/deploy CI/CD process.

{% hint style="info" %}
Please visit [Generate SBOM with the Xygeni CLI](https://docs.xygeni.io/xygeni-scanner-cli/xygeni-cli-overview/generate-sbom-with-the-xygeni-cli) for further information.
{% endhint %}
