Configuration
Set up your environment and customize Lens for your research needs.
Project Initialization
When you run lens init, a lens.config.yaml file is created in your directory. This file is the source of truth for your project's collectors and pipelines.
Managing API Keys
Most technical collectors (like GitHub or arXiv) require authentication for optimal performance. We recommend using a .env file or system environment variables to keep your keys secure.
Security
Never share your API keys or commit them to source control. Ensure .env is added to your .gitignore.
Common Customizations
Changing the Language
By default, Lens searches in English. You can change this globally or per-collector.
Adjusting Result Limits
Control how much data Lens collects from each source to balance speed and depth.
Next Steps
For an exhaustive list of every possible configuration setting, see our Reference guide.
View Configuration Reference →