> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maalbar.dk/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Components

> Embed an existing screening into another screening as a reusable component.

A component lets you embed one screening inside another — useful when a product is made up of sub-products that have already been screened independently. The parent screening's result will include the component's footprint automatically.

Both screenings must exist before you can link them. The screening you embed must have been created via the [screening step](/developer/quickstart/screening).

## Add a component

Call [POST /v1/screenings/\{screeningId}/components](/api-reference/components/add-component-to-a-screening) with the parent screening `publicId` in the path.

`publicId` is the `scr_` ID of the screening to embed.

The remaining fields:

* `amount` — how many of this component are included in the parent product
* `excludePallet` — whether to exclude the component's pallet from the calculation
* `excludedPackaging` — array of packaging `publicId`s to exclude from the component
* `applicationWaste` — only relevant when the embedded screening is of type `Product` or `ScalableComponent`
