# Snowbridge spEnrichedSetPk transformation
> Set destination partition key for Snowplow enriched events using atomic field values, with Snowbridge.
> Source: https://docs.snowplow.io/docs/api-reference/snowbridge/configuration/transformations/builtin/spEnrichedSetPk/
> Documentation index: https://docs.snowplow.io/llms.txt

`spEnrichedSetPk`: Specific to Snowplow data. Sets the message's destination partition key to an atomic field from a Snowplow Enriched tsv string. The input data must be a valid Snowplow enriched TSV.

## Configuration options

`SpEnrichedSetPk` only takes one option — the field to use for the partition key.

```hcl
loading...
```

[View on GitHub](<&#xA;https://github.com/snowplow/snowbridge/blob/v6.3.0/assets/docs/configuration/transformations/snowplow-builtin/spEnrichedSetPk-minimal-example.hcl&#xA;>)

Note: currently, setting partition key to fields in custom events and contexts is unsupported.
