
Adding Private Sources
Follow these steps to add a private source:- Go to your teamspace’s Sources tab
- Click “Add another” to open the source type selector
- Select a source type:
- GitHub — connect your GitHub account and select a repository
- GitLab — connect your GitLab account and select a project
- Bitbucket — connect your Bitbucket account and select a repository
- Other Git — add any Git repository by URL
- Confluence — connect your Confluence workspace
- OpenAPI — add an OpenAPI specification
- Authorize Context7 to access your source (if required)
- Submit for parsing
You must have a Pro or Enterprise plan to add private sources. Public sources can be added from the Add Library page.
Source Management
Refreshing Documentation
Keep your private documentation up to date:- Click the refresh icon next to the source
- Context7 re-parses the source
- You’re only charged for changed content — cached pages are free
- After major documentation updates
- After releasing new features
- When you notice outdated information
Removing Sources
To remove a private source:- Click the trash icon next to the source
- Confirm deletion in the modal
- Source documentation becomes unavailable immediately
Permissions
Access to private source management is restricted by role. Only Owners and Admins can add, refresh, or remove private sources. Developers can view source documentation but cannot manage sources. See Teamspace Management for the complete permissions table.Configuration
Using context7.json
Add a context7.json file to your repository root for better control over parsing: