We’re updating product names in our docs. Some references and links might be inaccurate today. Thanks for your patience.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set up a database

Configure your database so Sales Insights can segment your customers and show the right information in customer profiles.

You need Phocas administrator access, a Sales Insights license, and access to the database. See Manage customer segmentation.

The available configuration options depend on the data in your selected database. As you move through the setup, preview how your data is being used and adjust the settings as required.

Set up a database

After setup, you can edit or delete the configuration.

  1. In the navigation menu, click Sales Insights. A list of your unconfigured databases displays.

  2. Click the database you want to configure. The Insights setup page opens.

  3. Check the database name at the top of the page to confirm you selected the correct one.

  4. Complete the setup steps (tabs). See the Data, Segmentation, Frequency, Monetary, and Recency, and Customer profile sections below for more information.

Data

  1. Click the Stream that contains the sales transactions.

  2. Click the Customer dimension. This is used for the segmentation calculation.

  3. Click the Customer property (name). This is the information you'll see about the customer in the segmentation summary table.

  4. Click the Measure covering the value of each purchase, then choose the Currency to display. A preview table appears on the right, so you can check that the customer codes, names, and sales volumes are correct.

  5. Optional: Choose an existing dashboard in Customer scorecard. This adds a scorecard link to the Customer profile so users can open the dashboard to explore the customer's data. This setting links a dashboard; configure Customer profiles separately in step 6, Customer profile.

  6. Click the Property identifying individual purchases. This determines how transaction frequency and related metrics are calculated. The available options come from transaction-level fields in your data, such as Invoice Number, Transaction ID, Document Number, or Order Number, and might vary by organization.

  7. Click Next.

Segmentation

Choose how many groups to use to segment your customers. Click the segmentation grouping to apply:

  • Five groups: This is a simplified version with fewer, broader customer segments.

  • Ten groups (default): This is the standard version with more granular customer segments.

Your selection is reflected in the chart on the right, so you can preview what the grouping will look like.

Click Next.

Frequency, Monetary, and Recency

Use steps three to five to classify your customers based on frequency, monetary value, and recency. Sales Insights automatically calculates the thresholds from your data. The following are examples; your thresholds will depend on your database:

  • Frequency: Very frequent customers purchase more than 15 times per year.

  • Monetary value: High-value customers spend over $53,000.

  • Recency: Recent customers purchased in the last 29 days.

You don't need to change the calculated thresholds, but you can adjust them by editing the values in the boxes. The segmentation calculation updates automatically.

Click Next to move from Frequency through to Monetary and Recency.

On the Recency step, click Next to continue to step 6, Customer profile.

Customer profile

Map the product and sales data used to generate customer profiles and opportunities, so the information displayed is relevant to your business.

An administrator must complete the customer profile setup before users can view customer profiles and opportunities.

For an existing database without customer profile mappings, opening a customer profile takes you to this setup step.

  1. Click the Product dimension and Product property (name). The property determines the product name displayed on the Customer profile page.

  2. Optional: Click an Additional product property to display more information about the product.

  3. Optional: Click the Product group dimension, then click the Product group property (name).

  4. Click the Sales rep dimension and Sales rep property (name). The property determines the sales rep name displayed on the Customer profile page.

  5. Click the Quantity measure.

  6. Optional: Click the Margin measure (% based).

  7. Check the Data preview to confirm the product, product group, and sales rep information is what you expect.

  8. Click Done.

After you complete the full database setup, the Customer segmentation page opens with a summary, chart, and other information based on your configuration.

When you save customer profile mappings for the first time or change them, opportunities are generated automatically in the background. This may take 10 minutes or more, depending on the size of your customer data. Customer profile changes aren't reflected on the Customer profile page until processing completes. You can check the status in the top-right corner of the page to see whether opportunities have been generated.

Last updated