# Define attributes in Signals
> Define attributes within attribute groups to calculate behavioral data from real-time streams or your warehouse, then test and publish the configuration to Signals.
> Source: https://docs.snowplow.io/docs/signals/attributes/
> Documentation index: https://docs.snowplow.io/llms.txt

You can define attributes in Console, with the [Python SDK](/docs/signals/connection/reference/#python-sdk), or with your coding agent through the [Snowplow MCP server](/docs/ai/snowplow-mcp/). The Node.js SDK only retrieves attribute values.

[Attributes](/docs/signals/concepts/#attribute-groups) are the behavioral facts you want Signals to calculate, such as a user's page view count or lifetime value.

Attributes are defined within [attribute groups](/docs/signals/attributes/attribute-groups/). Each group specifies an [attribute key](/docs/signals/attributes/attribute-keys/) (the identifier to calculate against), the [attributes](/docs/signals/attributes/attributes/) to compute, and a data source — either a real-time event stream or a [warehouse table](/docs/signals/attributes/warehouse-config/).

This section covers the definition workflow:

- [Attribute groups](/docs/signals/attributes/attribute-groups/): create a group, choose a data source, and publish it
- [Attribute properties](/docs/signals/attributes/attributes/): configure the individual calculations within a group
- [Attribute keys](/docs/signals/attributes/attribute-keys/): use built-in identifiers or define custom ones
- [Warehouse configuration](/docs/signals/attributes/warehouse-config/): sync pre-calculated warehouse tables to Signals

To consume the calculated values in your applications, see [Use in your application](/docs/signals/applications/).

## Ways to define attributes

Each page in this section documents two approaches side by side, using tabs:

- **[Snowplow Console](https://console.snowplowanalytics.com)**: a UI for defining and managing attribute configurations. Navigate to the **Signals** section, and use the **Attribute groups**, **Attribute keys**, and **Services** pages to create and manage your configuration.
- **[Signals Python SDK](https://pypi.org/project/snowplow-signals/)**: define and publish attribute configurations programmatically from a notebook or script. Start by [connecting to Signals](/docs/signals/connection/).

You can also use the [Signals API](/docs/signals/connection/#signals-api) to interact with Signals directly over HTTP.

To define attributes by describing them in plain language, use the [Snowplow Assistant](/docs/ai/console-agent/) in Console, or connect your own AI assistant to the [Snowplow MCP server](/docs/ai/snowplow-mcp/). The assistant drafts, tests, and publishes attribute groups and services for you. In a coding agent, run `npx plugins add snowplow/skills` to install the MCP server and the Snowplow [skills](/docs/ai/skills/). See the [conversational Signals tutorial](/tutorials/signals-mcp/introduction/) for a walkthrough.

![Signals section of the Console navigation sidebar showing Overview, Attribute groups, Services, Attribute keys, and Interventions as menu items](/assets/images/console-navbar-11b65d884e2ac3450f8248e862b354c9.png)

## Configuration workflow

Attribute groups move through the same lifecycle whether you manage them in Console or with the Python SDK:

1. **Define**: [create the attribute group](/docs/signals/attributes/attribute-groups/#define-the-attribute-group), choosing its data source, attribute key, and attributes. In Console, new attribute groups are saved as drafts, so you can edit them freely before publishing.
2. **Test**: [preview the attribute values](/docs/signals/attributes/attribute-groups/#test-attribute-definitions) the group would produce, calculated from recent events in your warehouse. Without a warehouse connection, publish the group and check the values in the [Snowplow Inspector](/docs/testing/snowplow-inspector/signals-integration/) instead.
3. **Publish**: [apply the configuration](/docs/signals/attributes/attribute-groups/#publish-attribute-groups) to your Signals infrastructure. Signals starts calculating attributes, or syncing warehouse tables, and populating the Profiles Store. Definitions only take effect once published: values are calculated from this point onwards, unless you've configured a backfill.
4. **Update**: editing a published attribute group creates a new [version](/docs/signals/attributes/attribute-groups/#versioning), leaving the published version unchanged. This means you can iterate on definitions without breaking downstream processes, then migrate consumers by updating your [service](/docs/signals/applications/services/) definitions.
5. **Unpublish**: [stop calculation](/docs/signals/attributes/attribute-groups/#delete-an-attribute-group) for a specific version without losing its definition. Existing values remain in the Profiles Store, and you can republish later.
6. **Delete**: permanently remove all versions of the group, along with its calculated values in the Profiles Store. Attribute groups must be unpublished before they can be deleted.

[Interventions](/docs/signals/interventions/) follow the same lifecycle. [Services](/docs/signals/applications/services/) are simpler: they're published automatically as soon as they're created, and aren't versioned.

Each page in this section, along with the services and interventions pages, documents the Console and Python SDK specifics for these steps. [Publish and manage Signals configuration](/docs/signals/publish/) covers how the steps differ for each resource, and how resources depend on each other.
