HTTPS
Import data from remote sources accessible via HTTP or HTTPS URLs into your Rill project.
Overview
The HTTPS connector allows you to import data from publicly accessible files hosted on web servers, CDNs, or cloud storage services. This is perfect for working with datasets that are regularly updated or shared publicly.
Adding an HTTPS Source
Option 1: Using the Rill UI
- In the left navigation pane, click the "+" button next to Sources
- Select "HTTPS" from the connector options
- Enter your file's URL (e.g.,
https://example.com/data.csv
) - Click "Add Source"
Option 2: Using Code
Create a YAML configuration file in your project's sources
directory:
type: source
connector: https
path: https://example.com/data.csv
Supported URL Types
The HTTPS connector supports various remote data sources:
- Public HTTP/HTTPS URLs: Direct links to CSV, JSON, Parquet, and other data files
- Cloud Storage URLs: Public links to files in Google Cloud Storage, Amazon S3, or other cloud providers
Authentication
Local Development
When running Rill locally, the connector will attempt to use existing credentials configured on your machine for authenticated requests, else you will need to define the key with headers: "Authorization: Bearer token"
.
Rill Cloud Deployment
When deploying to Rill Cloud, you must explicitly provide service account credentials with appropriate access permissions for protected resources.
Best Practices
- Use HTTPS URLs: Prefer secure HTTPS connections over HTTP when possible
- Check File Accessibility: Ensure your URLs are publicly accessible or properly authenticated
- Monitor File Size: Large files may take longer to download and process
- Regular Updates: Set up automated refreshes for frequently updated datasets
Reference
For advanced configuration options and properties, see the Connector YAML Reference.