Metrica
Metrica
✕
  • Home
  • Products
    • Power BI Connector for Salesforce
    • Power BI Connector for SAP
  • Resources
    • Blog
    • Trust Center
Explore Products

Home - Metrica Docs - How do I set up a Salesforce Site for Power BI Connector?

Getting Started

  • Installation Guide
  • Explore Power BI Connector for Salesforce

Admin Guide

  • Access Token Management
  • Application Permissions Setup
  • Agentforce Integration

User Guide

  • How to Create Data Source
  • How to Import Salesforce Data into Microsoft Power BI
  • How to View Data Sources History
  • How to View Export History
  • How to Optimize Data Export Time
  • How to View Entity Relationship Diagram
  • How to Share Data Source
  • How to Set Up Incremental Refresh in Power BI

Release Notes

  • Release Notes 2026

FAQ & Troubleshooting

  • What does “Data Source” mean? How many data sources can I create?
  • What data can I export from Salesforce?
  • Why can’t I see some fields or custom objects in my data export?
  • Why is my data export slow or taking a long time to refresh?
  • How do I set up a Salesforce Site for Power BI Connector?

Support

  • Pricing and Licensing
  • Contact Support
View Categories
  • Metrica Docs
  • Power BI Connector for Salesforce Documentation
  • FAQ & Troubleshooting

How do I set up a Salesforce Site for Power BI Connector?

1 min read

Power BI Connector for Salesforce uses a public Salesforce Site as the entry point for OAuth authorization. The metrica_powerbi.OAuthProxy Apex class runs under the Site Guest User profile and brokers the initial handshake between Power BI and your Salesforce org. Without an active Site and the correct guest-user permissions, the connector cannot complete authorization — which is what triggers the “Site URL is not configured” warning in the app.

i
If your organization already has a Salesforce Site enabled, you can skip site creation. Jump straight to Step 4: Enable Apex Class Access and grant the Site Guest User access to metrica_powerbi.OAuthProxy.

Step 1: Navigate to Sites #

In Salesforce Setup, go to:

Setup → User Interface → Sites and Domains → Sites

Step 2: Create a New Site #

  • Click New.
  • Fill in the required fields — any appropriate values are fine.
  • Make sure the Active checkbox is selected.
  • Click Save.

Step 3: Enable Apex Class Access #

This is the step that clears the “Site URL is not configured” banner. The Site Guest User needs explicit permission to invoke the OAuthProxy class:

  • Click the site label to open Site Details.
  • Click Public Access Settings.
  • Scroll to Enabled Apex Class Access.
  • Click Edit.
  • Add metrica_powerbi.OAuthProxy
  • Click Save.
If you skip granting access to metrica_powerbi.OAuthProxy, the connector’s authorization flow will fail silently — the OAuth callback cannot reach a class the guest user is not allowed to execute.

Updated on May 22, 2026

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Why is my data export slow or taking a long time to refresh?What does “Data Source” mean? How many data sources can I create?
Table of Contents
  • Step 1: Navigate to Sites
  • Step 2: Create a New Site
  • Step 3: Enable Apex Class Access
Metrica
Explore Products
Products
  • Power BI Connector for Salesforce
  • Power BI Connector for SAP
Resources
  • Blog
  • Trust Center

Metrica Software builds enterprise data connectors that provide analytics platforms with direct access to complex business systems such as SAP and Salesforce.

The focus is on predictable behavior, controlled access, and long-term operation in production environments.

© 2026. All rights reserved.

Privacy Policy

Terms of Use

    Book a Demo







    Secure & private form

    1-2 min

    ×

      Contact Sales








      Secure & private form

      1-2 min

      ×