# Registry

In the Canso platform, we begin by registering the data sources and sinks, followed by the registration of features. We support S3 and Kafka as data sources, and S3 and Redis as data sinks. Our platform accommodates raw, derived batch, and streaming features. Once a feature is defined, it must be registered to ensure its metadata, logic, and scheduling details are stored for future reference and reuse.

## Steps for Feature Registration

### Create Feature Objects

* Define the raw, derived, and streaming features by creating their respective objects with their configurations.

### Generate the access token

* To register the feature, generate an access token and store it as an environment variable on your data plane machine.
* Only active tokens can be used. When a token expires, generate a new one and update the environment variable.
* Take a reference from [this script](https://github.com/Yugen-ai/gru/blob/main/gru/examples/generate_access_token.py) below to generate the access token.

### Register the Features

* Register each feature object within the platform to persist their details.
* Here the feature names are primary key. You cannot register the feature again with the same name.
* Take a reference from [this script](https://github.com/Yugen-ai/gru/blob/main/gru/examples/create_raw_feature.py#L89-L95) to register the features,data sources and sinks.

### Tool Tips

* Go to [Top](#top) ⬆️
* Go back to [README.md](/...md) ⬅️
* Go back to [data-sources.md](/feature-store/data-sources.md) ⬅️
* Go back to [data-sinks.md](/feature-store/data-sinks.md) ⬅️
* Go back to [raw-feature.md](/feature-store/features/raw-feature.md) ⬅️
* Go back to [derived-feature.md](/feature-store/features/derived-feature.md) ⬅️
* Go back to [streaming-feature.md](/feature-store/features/streaming-feature.md) ⬅️
* Move forward to see [deploy-feature.md](/guides/deploy-feature.md) ➡️


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.canso.ai/guides/register-feature.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
