What Are Connections?
Connections in Pylar link your data sources to the platform, enabling you to query and analyze data from multiple sources in one place. Connections are the foundation of creating views and building MCP tools.Accessing Connections
To connect data sources:- In the left sidebar, under your current workspace, find the “Connections” page
- Click on “Connections” to open it
- You’ll see a list of connect cards, each representing an available data source
Types of Data Sources
Pylar supports two types of data sources:Business Applications
What they are: Applications like Google Sheets, HubSpot, Salesforce, etc. How they work:- Data is synced to Pylar Warehouse
- Data is copied to Pylar’s infrastructure
- Fast querying with Pylar’s optimized storage
- Regular syncs keep data up to date
Databases and Data Warehouses
What they are: Databases like Snowflake, PostgreSQL, BigQuery, etc. How they work:- Data is indexed for easier querying and autocompletion
- Your data remains in its original location
- Queries are executed on your infrastructure
- Can be joined with any other sources (including Business Applications)
- No data copying—direct query access
The key difference: Business Applications sync data to Pylar, while Databases/Data Warehouses are queried directly where they live.
Connection Process Overview
For Business Applications
- Click on the relevant connection card
- Provide a unique name for the connection
- Complete the authentication process (varies by source)
- Wait for data sync to complete
- Must not contain capital letters
- No special characters
- No spaces (use underscores instead)
- This name will be used to reference the source in SQL queries
For Databases/Data Warehouses
- Click on the database/data warehouse card
- Provide connection credentials
- Whitelist Pylar’s IP address (if required)
- Test the connection
- Wait for indexing to complete
If you don’t have database credentials, you can invite a team member who does have access to complete the connection.
After Connection
Waiting Period
After completing the connection process:- Business Applications: Data syncs to Pylar Warehouse
- Databases: Data is indexed for querying
- Sources with large amounts of historical data may take longer
- Pylar will notify you via email and in-app notification when the sync/indexing is complete
You’re Ready to Query
Once the connection is established and processing is complete:- Use the connection name in your SQL queries
- Join data across different sources
- Create views using connected data
- Build MCP tools on your views
Prerequisites
Required Role
To connect data sources, you must have at least Analyst role privileges in Pylar.Credentials
For databases and data warehouses, you need:- Access to connection credentials
- Database/warehouse administrator access (to whitelist IPs if needed)
- Or invite a team member who has these credentials
Security
How Pylar Protects Your Data
- Encryption: Default encryption for all data
- Secret Management: Credentials stored in Google Cloud Platform’s Secret Key Manager
- HTTPS: All API interactions use HTTPS
- Access Control: Stringent access controls on all data
Additional Security Options
- Dedicated User Accounts: Create database users specifically for Pylar
- Limited Views: Grant access only to specific database views
- Audit Logging: Monitor all queries executed by Pylar
- SSH Tunnels: Use SSH connections for enhanced security (see SSH Connections guide)
Next Steps
Ready to connect your first data source?- Supported Data Sources - See all available connections
- Connecting BigQuery - Connect to BigQuery
- Connecting Snowflake - Connect to Snowflake
- Connecting PostgreSQL - Connect to PostgreSQL
Connect Your First Source
See all available data sources you can connect