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

# Link Products

> Link products to a user group.

Only an OWNER or ADMIN can link products to a user group. A READER or HUMAN\_EVALUATOR sees the union of the products that all its groups link.

## Example

```python theme={"system"}
galtea.user_groups.link_products(
    user_group_id=user_group_id,
    product_ids=[product_id_1, product_id_2],
)
```

## Parameters

**user\_group\_id** `string` *required*

The ID of the user group.

**product\_ids** `list[string]` *required*

List of product IDs to link to the group.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.