-
Notifications
You must be signed in to change notification settings - Fork 61
Task t66bef/catalog auto discovery feature documentation #3080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sivanel97
merged 22 commits into
main
from
task_t66bef/catalog_discovery_feature_documentation
Dec 9, 2025
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8c61e30
WIP
sivanel97 9e1b2b4
WIP
sivanel97 697f6fa
Create a first version of the feature documentation
sivanel97 af6a98c
Remove the mention of AI
sivanel97 b3832d5
Add screenshots and edit with Roni's suggestions
sivanel97 fa1c97e
update images to img in the catalog page
sivanel97 f935016
Attend the CR comments and suggestions
sivanel97 6aee588
change filters header to table filters
sivanel97 2bcd118
update the examples section of the 5th step of the discovery
sivanel97 befddf7
update the examples for advanced configuration
sivanel97 9bdc60b
Add a page about the catalog auto discovery instead of under the cata…
sivanel97 74ca56b
attend some of Dudi's comments
sivanel97 2e76f6b
change the show icon to diff, need to add dark mode when available
sivanel97 bc59b0a
add diff dark icon
sivanel97 ba8fb05
update catalog discovery form image
sivanel97 109ef46
Merge branch 'main' of https://github.com/port-labs/port-docs into ta…
sivanel97 4599dcf
Added the catalog auto discovery as one of the methods to set up the …
sivanel97 7e9858c
edit according to Hadar's suggestions
sivanel97 37d3d57
update image and the new order of components
sivanel97 31b139c
Attend Matan's comments
sivanel97 e6e850a
attend daniel's comments
sivanel97 30a2e86
Merge branch 'main' into task_t66bef/catalog_discovery_feature_docume…
sivanel97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
125 changes: 125 additions & 0 deletions
125
docs/build-your-software-catalog/catalog-auto-discovery.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| import ThemedImage from "@theme/ThemedImage" | ||
|
|
||
| # Catalog auto discovery | ||
|
|
||
| :::info Open beta | ||
| This feature is currently in open beta and available to all organizations. | ||
| ::: | ||
|
|
||
| The **auto discovery** capability uses [Port AI](/ai-interfaces/port-ai/overview) to discover entities and their relations. | ||
| This helps you maintain a complete and accurate catalog, especially for entities that are not automatically created through integrations (see common use-cases below). | ||
|
|
||
| <h3>Common use cases</h3> | ||
|
|
||
| - **Services**: Service blueprint centralizes different components of a service like its repository, incidents for example. For that reason, unlike GitHub repositories or PagerDuty services that sync automatically from integrations, services are typically created manually. Auto discovery helps you identify and create these missing services. | ||
| - **Users**: Discover users from related entities. For instance, if you have GitHub repositories synced, we can analyze pull requests and issues entities to suggest users who contributed to them but do not yet exist in your catalog. | ||
|
|
||
| ## How to use catalog auto discovery | ||
|
|
||
| **Run the discovery:** | ||
|
|
||
| 1. Navigate to the [Catalog](https://app.port.io/organization/catalog) page of your portal. | ||
|
|
||
| 2. Open the catalog page of the blueprint for which you want to discover new entities. | ||
|
|
||
| 3. Click on the <ThemedImage sources={{light: "/img/icons/AI-icon.svg", dark: "/img/icons/AI-dark-icon.svg"}} style={{"vertical-align": "text-top"}} className="not-zoom" /> button in the top right corner of the page. | ||
|
|
||
| 4. For the best results, we recommend providing the definition of the blueprint you want to discover, along with clear instructions for patterns or specific properties that should be considered. | ||
|
|
||
| For example: | ||
|
|
||
| - **Mono-repo microservices:** | ||
| ``` | ||
| Services are represented as code in a repository. | ||
| Check the file structure of each repository to identify services. | ||
| Services may be found in specific folders, such as "apps" or "services". | ||
| ``` | ||
| - **Service repository identification:** | ||
| ``` | ||
| Focus on repos that have keywords that can indicate they are services | ||
| (e.g., "service", "ms", "srv"). | ||
| Ignore repos of libraries and packages. Having also a PagerDuty service | ||
| with a similar name as a repo is a strong indication that this is a service. | ||
| ``` | ||
| - **Identify users:** | ||
| ``` | ||
| Check "Jira issues" assignees and "pull requests" to identify developers in the organization. | ||
| ``` | ||
|
|
||
| 5. Select related blueprints to analyze. The entities from these blueprints will be used to identify patterns and suggest new entities for your target blueprint. This field is mandatory and is automatically filled with all directly related blueprints. | ||
|
|
||
| 6. Click on the `Discover` button. | ||
|
|
||
| <img src="/img/software-catalog/pages/catalogDiscoveryForm.png" border='1px' width='50%' style={{borderRadius:'8px'}} /> | ||
|
|
||
| **Review and edit suggestions:** | ||
|
|
||
| Once the process is complete, a list of suggested entities will be displayed, divided into two sections: **Create** and **Update**. | ||
|
|
||
| You can: | ||
|
|
||
| - Edit individual entity suggestions. | ||
| - Approve or decline suggestions individually or in bulk. | ||
| - View the proposed updates to existing entities by clicking the <ThemedImage sources={{light: "/img/icons/Diff-icon.svg", dark: "/img/icons/Diff-dark-icon.svg"}} style={{"vertical-align": "text-top"}} className="not-zoom" /> button. | ||
|
|
||
| Suggested entities persist until they are approved or declined. You can close the discovery results window and return to review pending suggestions at any time by accessing the discovery results from the blueprint's catalog page using the <ThemedImage sources={{light: "/img/icons/AI-icon.svg", dark: "/img/icons/AI-dark-icon.svg"}} style={{"vertical-align": "text-top"}} className="not-zoom" /> button. | ||
|
|
||
| <img src="/img/software-catalog/pages/catalogDiscoveryResultsWindow.png" border='1px' width='80%' style={{borderRadius:'8px'}} /> | ||
| <br/><br/> | ||
|
|
||
sivanel97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| **Re-run the discovery** | ||
|
|
||
| You can re-run the discovery process at any time to generate additional or different suggestions. Each discovery run analyzes the current state of your catalog and may produce new suggestions based on newly added entities, updated relationships, or refined patterns. Re-running the discovery does not affect previously approved or declined suggestions. | ||
|
|
||
| :::info Using auto discovery via the API | ||
| This feature is also available via API for a more programatic execution of the process. Refer to the [API reference](/api-reference/port-api) catalog auto discovery for the full list of paths. | ||
| ::: | ||
|
|
||
| ## Permissions | ||
|
|
||
| The permissions are derived from the blueprint permissions. | ||
sivanel97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| You can approve suggested entities only if you have write access to the blueprint. | ||
| For more information about blueprint permissions, see the [set catalog RBAC](/build-your-software-catalog/set-catalog-rbac/) documentation. | ||
|
|
||
| To learn more about how Port AI uses your data, see the [security and data controls](/ai-interfaces/port-ai/security-and-data-controls) documentation. | ||
|
|
||
| ## Limitations | ||
sivanel97 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - **Entity evaluation limit**: Discovery evaluates only the 500 most recently added entities from each related blueprint. | ||
| - **Property truncation**: Only the first 100 characters of each property value are analyzed. Longer content (such as large markdown fields) will be truncated. | ||
| - **LLM provider**: This feature currently uses Port's LLM and does not support [Bring Your Own LLM (BYOLLM)](/ai-interfaces/port-ai/overview#bring-your-own-llm-byollm). | ||
|
|
||
| ## FAQs | ||
|
|
||
| <details> | ||
| <summary><b>Which LLM model is used? (click to expand)</b></summary> | ||
|
|
||
| The AI uses the default LLM defined in Port. To learn more, see the [LLM models and providers](/ai-interfaces/port-ai/overview#llm-models-and-providers) documentation. | ||
| Bring Your Own LLM (BYOLLM) is not currently supported for catalog auto discovery. | ||
|
|
||
| </details> | ||
|
|
||
| <details> | ||
| <summary><b>Are there usgae limits? (click to expand)</b></summary> | ||
|
|
||
| It depends on your LLM setup. To learn more, see the [limits and usage](/ai-interfaces/port-ai/overview#limits-and-usage) documentation. | ||
|
|
||
| </details> | ||
|
|
||
| <details> | ||
| <summary><b>Is the AI trained based on my data? (click to expand)</b></summary> | ||
|
|
||
| No, Port AI does not use your data to train models. To learn more, see the [security and data controls](/ai-interfaces/port-ai/security-and-data-controls) documentation. | ||
|
|
||
| </details> | ||
|
|
||
| <details> | ||
| <summary><b>How can I improve the auto discovery results? (click to expand)</b></summary> | ||
|
|
||
| You can improve results by: | ||
| - Providing more specific instructions in the prompt about patterns to look for. | ||
| - Including clear definitions of what constitutes your target entity type. | ||
| - Selecting the most relevant related blueprints for analysis. | ||
| - Re-running the discovery after refining your prompt based on initial results. | ||
|
|
||
| </details> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.