<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RudderStack Docs – Profiles Overview</title><link>https://www.rudderstack.com/docs/archive/profiles/0.25/overview/</link><description>Recent content in Profiles Overview on RudderStack Docs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/index.xml" rel="self" type="application/rss+xml"/><item><title>Archive: How Profiles Works</title><link>https://www.rudderstack.com/docs/archive/profiles/0.25/overview/how-profiles-works/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/archive/profiles/0.25/overview/how-profiles-works/</guid><description>
&lt;p>Profiles has two primary functions:&lt;/p>
&lt;ol>
&lt;li>Generating an identity graph.&lt;/li>
&lt;li>Computing features on top of that identity graph.&lt;/li>
&lt;/ol>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="generating-an-identity-graph" data-heading="Generating an identity graph" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/how-profiles-works/" data-title="How Profiles Works" -->
&lt;h2 id="generating-an-identity-graph">Generating an identity graph&lt;/h2>&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="known-and-unknown-users" data-heading="Known and unknown users" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/how-profiles-works/" data-title="How Profiles Works" -->
&lt;h3 id="known-and-unknown-users">Known and unknown users&lt;/h3>&lt;p>At a high level, customer data can be categorized in to data from both known and unknown users.&lt;/p>
&lt;p>You can track unknown users at an individual level using the RudderStack SDKs and capture their &lt;code>anonymousId&lt;/code>. However, you don&amp;rsquo;t have any additional information about these users. Known users are identified by some additional information, often traits like &lt;code>email&lt;/code>, &lt;code>phone&lt;/code>, etc.&lt;/p>
&lt;p>These IDs live in many places across your data warehouse or data lake, most often as a column (or columns) in individual tables that are loaded from various data sources.&lt;/p>
&lt;p>You can use Profiles to &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/concepts/identity-graph/" >stitch together&lt;/a> both known and unknown IDs into a single table. The IDs are linked using an autogenerated ID, called the &lt;code>rudderId&lt;/code>, which is a canonical identifier for each user.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="use-case" data-heading="Use case" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/how-profiles-works/" data-title="How Profiles Works" -->
&lt;h3 id="use-case">Use case&lt;/h3>&lt;p>Tying together known and unknown IDs for a user is foundational for ensuring accurate customer data. Consider the following customer journey:&lt;/p>
&lt;ul>
&lt;li>A user browsed your website anonymously six months ago.&lt;/li>
&lt;li>The user returns three months later and signs up for your newsletter.&lt;/li>
&lt;li>One month later, the user clicks an ad on their phone and visits your website anonymously through their mobile browser, and makes a purchase.&lt;/li>
&lt;/ul>
&lt;p>In many cases, the data generated by this journey would be counted as two or three separate users, depending on the tools used to track the behavior. Profiles ID stitching ties the data together, revealing that all of those activities were performed by the same user. Profiles represents these data points as different nodes and edges of the identity graph.&lt;/p>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/identity-stitching.png" href="https://www.rudderstack.com/docs/docs/images/profiles/identity-stitching.png"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/identity-stitching.png"
alt="Identity stitching"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="computing-features-to-build-a-customer-360-table" data-heading="Computing features to build a customer 360 table" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/how-profiles-works/" data-title="How Profiles Works" -->
&lt;h2 id="computing-features-to-build-a-customer-360-table">Computing features to build a customer 360 table&lt;/h2>&lt;p>The identity graph serves as a map of where each user&amp;rsquo;s data lives across tables in your data warehouse. Leveraging this map, Profiles makes it easy for you to pull and compute features for each user across all of your data.&lt;/p>
&lt;p>For example, a user might have purchase events spread across multiple tables: one for mobile, one from a previous platform, and one from your new eCommerce site. With Profiles, you can easily sum those values across tables for a single user to understand lifetime value.&lt;/p>
&lt;p>Features are output to a table, which you can use as your single source of truth for customer 360.&lt;/p>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/features-generation.png" href="https://www.rudderstack.com/docs/docs/images/profiles/features-generation.png"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/features-generation.png"
alt="Features generation"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure></description></item><item><title>Archive: Profiles Quickstart</title><link>https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/</guid><description>
&lt;p>This guide walks you through creating a Profiles project using the Profile Builder (PB) tool.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="prerequisites" data-heading="Prerequisites" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="prerequisites">Prerequisites&lt;/h2>&lt;ul>
&lt;li>&lt;a href="https://www.python.org/downloads/" >Python 3&lt;/a> installed on your computer.&lt;/li>
&lt;li>Admin privileges on your computer.&lt;/li>
&lt;/ul>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="required-permissions" data-heading="Required permissions" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="required-permissions">Required permissions&lt;/h2>&lt;ul>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/access-management/member-management/#member-roles" >Admins&lt;/a> have full access to manage Profiles projects in RudderStack.&lt;/li>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/access-management/member-management/#member-roles" >Members&lt;/a> can have the following &lt;a href="https://www.rudderstack.com/docs/access-management/policies-overview/#resource-permissions" >permissions&lt;/a> depending on their workspace policy:&lt;/li>
&lt;/ul>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th style="text-align:left">Permission&lt;/th>
&lt;th style="text-align:left">&lt;div style="width:350px">Description&lt;/div>&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Edit&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Make changes to the configuration of Profiles projects&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Create &amp;amp; Delete&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Create or delete Profiles projects in the workspace&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Connect&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Connect a Profiles project to a warehouse destination &lt;br />&lt;br />&lt;html lang="en">
&lt;blockquote class="info">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/info.svg loading="lazy" alt="info" decoding="async" class="img__small" style="margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">The &lt;strong>Connect&lt;/strong> permission also applies on the warehouse source used to create the Profiles project.&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;/html>&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>&lt;details>
&lt;summary>&lt;strong>Click here to see how these permissions appear in the workspace policy&lt;/strong>.&lt;/summary>
&lt;br />
&lt;figure>&lt;img src="https://www.rudderstack.com/docs/docs/images/access-management/profiles.webp"
alt="Permissions to manage Profiles projects in RudderStack dashboard"/>
&lt;/figure>
&lt;/details>
&lt;br />&lt;/p>
&lt;blockquote class="warning">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/warning.svg alt="warning" loading="lazy" decoding="async" class="img__small" style="
margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">To make a connection, that is, connect a Profiles project to a warehouse destination, the member must have both &lt;strong>Edit&lt;/strong> and &lt;strong>Connect&lt;/strong> permissions on both the resources.&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="permissions-for-legacy-rbac-system" data-heading="Permissions for legacy RBAC system" data-level="4" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h4 id="permissions-for-legacy-rbac-system">Permissions for legacy RBAC system&lt;/h4>&lt;p>In the &lt;a href="https://www.rudderstack.com/docs/archive/dashboard-guides/user-management/" >legacy Permissions Management (RBAC) system&lt;/a>:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/archive/dashboard-guides/user-management/#organization-roles" >Org Admins&lt;/a> and members with the &lt;a href="https://www.rudderstack.com/docs/archive/dashboard-guides/user-management/#connections" >&lt;strong>Connections Admin&lt;/strong> role&lt;/a> in their workspace policy can create and delete Profiles projects, manage their configuration, and connect them to a warehouse destination&lt;/li>
&lt;li>Members with the &lt;a href="https://www.rudderstack.com/docs/archive/dashboard-guides/user-management/#connections" >&lt;strong>Connections Editor&lt;/strong> role&lt;/a> in their workspace policy can only edit the Profiles project configuration and connect Profiles projects to a warehouse destination&lt;/li>
&lt;/ul>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/access-management/tracking-plan-permissions-legacy-framework.webp" href="https://www.rudderstack.com/docs/docs/images/access-management/tracking-plan-permissions-legacy-framework.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/access-management/tracking-plan-permissions-legacy-framework.webp"
alt="Profiles permissions in the legacy framework"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="1-install-profile-builder" data-heading="1. Install Profile Builder" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="1-install-profile-builder">1. Install Profile Builder&lt;/h2>&lt;p>Create and activate the virtual environment:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">python3 -m venv .venv
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">source&lt;/span> .venv/bin/activate
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>&lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/create-new-project/#install-profiles" >Install&lt;/a> the Profiles Builder (PB) package:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">pip3 install profiles-rudderstack
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Verify the installation was successful:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">pb version
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="2-create-warehouse-connection" data-heading="2. Create warehouse connection" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="2-create-warehouse-connection">2. Create warehouse connection&lt;/h2>&lt;p>Profiles supports Snowflake, Redshift, BigQuery and Databricks. The user in your connection configuration must have permission to read from schemas containing source data and write to the schema created for Profiles.&lt;/p>
&lt;p>Create a warehouse connection:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">pb init connection
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Follow the prompts to enter details about your warehouse connection:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">Select a warehouse: s
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter Connection Name: my_warehouse
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter target: (default:dev): # Press enter, leaving it to default
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter account: company.us-east-1
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter warehouse: RUDDER_WAREHOUSE
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter dbname: RUDDER_EVENTS
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter schema: RUDDER_PROFILES
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter user: &amp;lt;YOUR_USERNAME&amp;gt; // Optional for Databricks
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter password: &amp;lt;YOUR_PASSWORD&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Enter role: &amp;lt;YOUR_ROLE&amp;gt;
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Append to /Users/&amp;lt;user_name&amp;gt;/.pb/siteconfig.yaml? [y/N] y
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This creates a local site configuration file inside your home directory: &lt;code>~/.pb/siteconfig.yaml&lt;/code>. Your Profiles project uses this file to access the warehouse, git credentials, and other details. If you don&amp;rsquo;t see the file, enable the &lt;strong>view hidden files&lt;/strong> option.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="3-create-profiles-project" data-heading="3. Create Profiles project" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="3-create-profiles-project">3. Create Profiles project&lt;/h2>&lt;p>Initialize a new Profiles project:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">pb init pb-project -o my-project
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This creates a new project in the &lt;code>my-project&lt;/code> folder with the &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/project-structure/#initial-project-structure" >initial project structure&lt;/a>.&lt;/p>
&lt;p>If you would like to create a project in the current folder instead, run:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">pb init pb-project -o .
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Open the &lt;code>pb_project.yaml&lt;/code> file at the root of your project and set the value of &lt;code>connection:&lt;/code> to the connection name as defined in the previous step.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="4-add-inputs" data-heading="4. Add inputs" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="4-add-inputs">4. Add inputs&lt;/h2>&lt;p>Open the &lt;code>inputs.yaml&lt;/code> file in the &lt;code>models&lt;/code> folder. This file is where you will define your inputs.&lt;/p>
&lt;p>Each input has a &lt;code>name&lt;/code>, source &lt;code>table&lt;/code> (in the format &lt;code>database.schema.table&lt;/code>), &lt;code>occurred_at_col&lt;/code> (timestamp column if available), and list of entity &lt;code>ids&lt;/code>. Each ID inclues a &lt;code>select&lt;/code> (column name), &lt;code>type&lt;/code> (ID type as defined in &lt;code>pb_project.yaml&lt;/code>) and &lt;code>entity&lt;/code> name (defined in &lt;code>pb_project.yaml&lt;/code>).&lt;/p>
&lt;p>Edit the two sample inputs to use your own data. This may only require changing the &lt;code>table&lt;/code> fields to point to your &lt;code>identifies&lt;/code> and &lt;code>tracks&lt;/code> tables. If your &lt;code>identifies&lt;/code> table does not include email addresses, remove that ID. If email address is included under a different column name, change the &lt;code>select&lt;/code> field accordingly.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="5-validate-warehouse-access" data-heading="5. Validate warehouse access" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="5-validate-warehouse-access">5. Validate warehouse access&lt;/h2>&lt;p>Validate your warehouse connection has the necessary access:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">pb validate access
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>If there are no errors, proceed to the next step. In case of errors, make sure to provide the necessary &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/create-new-project/#grant-warehouse-permissions" >warehouse permissions&lt;/a>.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="6-run-project" data-heading="6. Run project" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="6-run-project">6. Run project&lt;/h2>&lt;p>&lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/run-project/" >Run the project&lt;/a> on your data warehouse:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">pb run
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This compiles your project into SQL files stored in the &lt;code>output&lt;/code> folder, then runs that SQL on your warehouse.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="7-add-feature" data-heading="7. Add feature" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="7-add-feature">7. Add feature&lt;/h2>&lt;p>Open the &lt;code>profiles.yaml&lt;/code> file in the &lt;code>models&lt;/code> folder. There should be a var group with four entity vars, two of which are features (included in feature views).&lt;/p>
&lt;p>Add a new entity var / feature that gets the event count for each user:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">- &lt;span class="nt">entity_var&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">event_count&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">select&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">COUNT(*)&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">from&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">inputs/rsTracks&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">description&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="kc">No&lt;/span>&lt;span class="l">. of events tracked for customer&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Profiles automatically groups data by customer, so you only need to specify the aggregate function.&lt;/p>
&lt;p>If you run the project again, you will see this &lt;code>event_count&lt;/code> feature in your feature views.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="8-add-cohort" data-heading="8. Add cohort" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/" data-title="Profiles Quickstart" -->
&lt;h2 id="8-add-cohort">8. Add cohort&lt;/h2>&lt;p>The feature views in your warehouse contain features for all customers. A cohort can be used to create feature views for a subset of customers.&lt;/p>
&lt;p>In the &lt;code>profiles.yaml&lt;/code> file, add a cohort for power users:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-yaml" data-lang="yaml">&lt;span class="line">&lt;span class="cl">&lt;span class="nt">models&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">name&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">power_users&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">model_type&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">entity_cohort&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">model_spec&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">extends&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">user/all&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">materialization&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">output_type&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">view&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">filter_pipeline&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>- &lt;span class="nt">type&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="l">include&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="w"> &lt;/span>&lt;span class="nt">value&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="s2">&amp;#34;{{ user.event_count }} &amp;gt; 45&amp;#34;&lt;/span>&lt;span class="w">
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This &lt;code>power_users&lt;/code> cohort uses the &lt;code>event_count&lt;/code> entity var defined above, only including customers with more than 45 events tracked.&lt;/p>
&lt;p>Feature views for this cohort will be automatically generated during the next project run.&lt;/p>
&lt;br /></description></item><item><title>Archive: Create Profiles Project in the RudderStack dashboard</title><link>https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/</guid><description>
&lt;p>This guide lists the steps to create a Profiles project in the RudderStack dashboard.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="create-profiles-project" data-heading="Create Profiles project" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/" data-title="Create Profiles Project in the RudderStack dashboard" -->
&lt;h2 id="create-profiles-project">Create Profiles project&lt;/h2>&lt;ol>
&lt;li>Log in to the &lt;a href="https://app.rudderstack.com" >RudderStack dashboard&lt;/a> and go to &lt;strong>Unify&lt;/strong> &amp;gt; &lt;strong>Profiles&lt;/strong> option in the left sidebar.&lt;/li>
&lt;li>Click &lt;strong>Create project&lt;/strong>.&lt;/li>
&lt;/ol>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/create-project.webp" href="https://www.rudderstack.com/docs/docs/images/profiles/create-project.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/create-project.webp"
alt="Choose predefined template"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;ol start="3">
&lt;li>Select &lt;strong>Web-based editor (IDE)&lt;/strong> on the next screen.&lt;/li>
&lt;/ol>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/web-based-editor.webp" href="https://www.rudderstack.com/docs/docs/images/profiles/web-based-editor.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/web-based-editor.webp"
alt="Web-based Editor method for creating Profiles project"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;html lang="en">
&lt;blockquote class="info">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/info.svg loading="lazy" alt="info" decoding="async" class="img__small" style="margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">You can also import an existing project from your Git repository.&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;/html>
&lt;ol start="4">
&lt;li>Enter a unique name and description for your Profiles project.&lt;/li>
&lt;li>Select a data warehouse from the dropdown.&lt;/li>
&lt;/ol>
&lt;blockquote class="warning">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/warning.svg alt="warning" loading="lazy" decoding="async" class="img__small" style="
margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">&lt;p>RudderStack currently supports the following warehouses for creating a Profiles project:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/destinations/warehouse-destinations/snowflake/" >Snowflake&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/destinations/warehouse-destinations/redshift/" >Redshift&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/destinations/warehouse-destinations/delta-lake/" >Databricks&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://www.rudderstack.com/docs/destinations/warehouse-destinations/bigquery/" >BigQuery&lt;/a>&lt;/li>
&lt;/ul>
&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;ol start="6">
&lt;li>
&lt;p>Enter the schema name for the corresponding warehouse in the &lt;strong>Schema&lt;/strong> field where you want your Profiles project to store the outputs.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Click &lt;strong>Create Profiles Project&lt;/strong> and select &lt;strong>Open in editor mode&lt;/strong>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Enter the schema name you want to use for development purposes for your editing session and click &lt;strong>Continue&lt;/strong>.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;html lang="en">
&lt;blockquote class="info">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/info.svg loading="lazy" alt="info" decoding="async" class="img__small" style="margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">&lt;p>RudderStack recommends using a development schema while editing your project so that you can modify your YAML configuration files, run your changes within the editor, and validate the outputs in a separate development schema.&lt;/p>
&lt;p>This makes it convenient to test your changes in the development schema without affecting the outputs in your production schema.&lt;/p>
&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;/html>
&lt;p>You will be able to see the following screen displaying a sample Profiles project with different YAML files:&lt;/p>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/profiles-ide.webp" href="https://www.rudderstack.com/docs/docs/images/profiles/profiles-ide.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/profiles-ide.webp"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;ol start="9">
&lt;li>Edit the YAML files and &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/ide/#what-is-the-difference-between-the-save-and-commit-operations" >save and commit the changes&lt;/a> to your project.&lt;/li>
&lt;li>Click the &lt;strong>Run&lt;/strong> button to run the project. Upon successful completion, you can view the outputs in your data warehouse.&lt;/li>
&lt;/ol>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="convert-to-a-git-project" data-heading="Convert to a Git project" data-level="3" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/" data-title="Create Profiles Project in the RudderStack dashboard" -->
&lt;h3 id="convert-to-a-git-project">Convert to a Git project&lt;/h3>&lt;p>Once you set up a Profiles project in the dashboard, you can convert it to a configuration-based Git repository by &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/ide/#which-git-urls-does-the-profiles-ide-support" >uploading it either to GitHub, GitLab, or Bitbucket&lt;/a>:&lt;/p>
&lt;ol>
&lt;li>Navigate to the &lt;strong>Unify&lt;/strong> &amp;gt; &lt;strong>Profiles&lt;/strong> option in the left sidebar to view all your Profiles projects.&lt;/li>
&lt;li>Click &lt;strong>Convert to Git&lt;/strong> button next to the project you want to convert.&lt;/li>
&lt;li>&lt;a href="https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository" >Create a new Git repository&lt;/a>.&lt;/li>
&lt;li>Enter the &lt;a href="https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols" >SSH URL of your Git repository&lt;/a> to be used for your Profiles project and click &lt;strong>Continue&lt;/strong>.&lt;/li>
&lt;li>Copy the SSH public key and click &lt;strong>Add deploy key&lt;/strong> which will take you to your git repository&amp;rsquo;s &lt;strong>Deploy keys&lt;/strong> section. See deploy keys section in the &lt;a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/managing-deploy-keys#set-up-deploy-keys" >GitHub&lt;/a>, &lt;a href="https://docs.gitlab.com/ee/user/project/deploy_keys/" >GitLab&lt;/a>, or &lt;a href="https://bitbucket.org/blog/deployment-keys" >Bitbucket&lt;/a> documentation for more information.&lt;/li>
&lt;/ol>
&lt;blockquote class="warning">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/warning.svg alt="warning" loading="lazy" decoding="async" class="img__small" style="
margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">Make sure your Git repository has at least one commit for successful validation.&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;ol start="7">
&lt;li>Click &lt;strong>Add deploy key&lt;/strong>, add a &lt;strong>Title&lt;/strong>, paste your SSH public key, and click &lt;strong>Add key&lt;/strong>.&lt;/li>
&lt;li>Click &lt;strong>Continue&lt;/strong> to let RudderStack verify read access.&lt;/li>
&lt;li>Click &lt;strong>Download project&lt;/strong> to download the Profiles project you set up in the dashboard.&lt;/li>
&lt;li>Commit the downloaded project to your Git repository.&lt;/li>
&lt;li>Once the project is committed successfully, return to the dashboard and click &lt;strong>Convert Profiles project&lt;/strong>.&lt;/li>
&lt;/ol>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="startstop-project-run" data-heading="Start/Stop project run" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/" data-title="Create Profiles Project in the RudderStack dashboard" -->
&lt;h2 id="startstop-project-run">Start/Stop project run&lt;/h2>&lt;p>Once created, you can:&lt;/p>
&lt;ul>
&lt;li>Run your Profiles project using either of the following ways:
&lt;ul>
&lt;li>Clicking &lt;strong>Run&lt;/strong> in the &lt;strong>History&lt;/strong> tab of the project.&lt;/li>
&lt;li>Programmatically using the &lt;a href="https://www.rudderstack.com/docs/api/profiles-api/" >Profiles API&lt;/a>.
&lt;br/>&lt;br/>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Stop a running project by clicking the red button in the &lt;strong>Status&lt;/strong> column:&lt;/li>
&lt;/ul>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/stop-profiles-project.webp" href="https://www.rudderstack.com/docs/docs/images/profiles/stop-profiles-project.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/stop-profiles-project.webp"
alt="Stop profiles project"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;blockquote class="warning">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/warning.svg alt="warning" loading="lazy" decoding="async" class="img__small" style="
margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">It might take up to a few seconds to stop a running project.&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="download-project" data-heading="Download project" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/" data-title="Create Profiles Project in the RudderStack dashboard" -->
&lt;h2 id="download-project">Download project&lt;/h2>&lt;p>To download the Profiles project, click the arrow icon corresponding to your Profiles project and click &lt;strong>Download this project&lt;/strong>:&lt;/p>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/cohorts-view-ui.webp" href="https://www.rudderstack.com/docs/docs/images/profiles/cohorts-view-ui.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/cohorts-view-ui.webp"
alt="Activation API"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;p>Once downloaded, you can view the &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/project-structure/" >project folder structure&lt;/a>, modify the files, or run various &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/dev-docs/commands/" >commands&lt;/a> to execute the desired use-cases.&lt;/p>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="project-details" data-heading="Project details" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/" data-title="Create Profiles Project in the RudderStack dashboard" -->
&lt;h2 id="project-details">Project details&lt;/h2>&lt;p>To view the Profiles project details, click the arrow icon corresponding to your Profiles project:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th style="text-align:left">Option&lt;/th>
&lt;th style="text-align:left">Description&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Entities&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Lists the entities, cohorts, features, activations, etc. for your Profiles project&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>History&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Displays the history of Profile runs&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Settings&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Displays your profile settings and lets you delete your Profiles project. You can edit the project by clicking the edit icon next to each section&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Alerts&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Set up &lt;a href="https://www.rudderstack.com/docs/data-governance/alerts/#profiles" >Alert thresholds&lt;/a> for the Profiles project&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;!-- end-chunk -->
&lt;!-- begin-chunk data-anchor="profile-details" data-heading="Profile details" data-level="2" data-permalink="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart-ui/" data-title="Create Profiles Project in the RudderStack dashboard" -->
&lt;h2 id="profile-details">Profile details&lt;/h2>&lt;p>You can also view the details of a specific profile in your Profiles project:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>In your Profiles project&amp;rsquo;s &lt;strong>Entities&lt;/strong> tab, click &lt;strong>View&lt;/strong> button across the entity for which you want to see the profile:
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/entity_view.webp" href="https://www.rudderstack.com/docs/docs/images/profiles/entity_view.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/entity_view.webp"
alt="Activation API"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Click &lt;strong>Profile Lookup&lt;/strong> tab to search a profile record.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Type an available unique identifier like &lt;code>email&lt;/code>, &lt;code>phone number&lt;/code>, &lt;code>user id&lt;/code>, &lt;code>anonymous id&lt;/code>, or the entity&amp;rsquo;s &lt;code>main_id&lt;/code> (for example, &lt;code>user_main_id&lt;/code>) and click &lt;strong>Search user profile&lt;/strong>.&lt;/p>
&lt;/li>
&lt;/ol>
&lt;figure class="image--main " >
&lt;a
data-lightbox="image-images/profiles/profiles-lookup.webp" href="https://www.rudderstack.com/docs/docs/images/profiles/profiles-lookup.webp"
>
&lt;img src="https://www.rudderstack.com/docs/docs/images/profiles/profiles-lookup.webp"
alt="Activation API"
decoding="async" loading="lazy" class="img-shortcode"/>
&lt;/a>
&lt;/figure>
&lt;html lang="en">
&lt;blockquote class="info">
&lt;div class="tip-quote">
&lt;img src=https://www.rudderstack.com/docs/docs/images/info.svg loading="lazy" alt="info" decoding="async" class="img__small" style="margin-top: 3px; width: 20px;height: 16px;" />
&lt;div class="tip-text">&lt;p>Note that:&lt;/p>
&lt;ul>
&lt;li>It can take a few minutes for the data preview to show up in your profile&amp;rsquo;s &lt;strong>History&lt;/strong> tab.&lt;/li>
&lt;li>If you keep getting a blank screen, it may be because you do not have sufficient access. Make sure you have the &lt;a href="https://www.rudderstack.com/docs/archive/profiles/0.25/overview/quickstart/#required-permissions" >relevant permissions&lt;/a> with the ability to access PII. In case the problem persists, contact &lt;a href="mailto:support@rudderstack.com" >RudderStack support&lt;/a>.&lt;/li>
&lt;/ul>
&lt;/div>
&lt;/div>
&lt;/blockquote>
&lt;/html></description></item></channel></rss>