> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt. For full content including API reference and SDK examples, see https://learning.postman.com/llms-full.txt.

# Discover APIs and services through code connection

The API Catalog can connect your Git repository to a Postman workspace. Alternatively, if you already have [Git-connected Postman workspaces](/docs/use/native-git/overview/), the API Catalog can automatically show all APIs in those workspaces.

To select your connection, do the following:

1. From <img alt="Home icon" src="https://assets.postman.com/postman-docs/aether-icons/descriptive-home-stroke.svg#icon" width="16px" /> **Home**, click **API Catalog**.
2. Click **Service discovery**.
3. Click <img alt="Add icon" src="https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-add-stroke-small.svg#icon" width="16px" /> **Add New Sources**.
4. If you haven't connected your Git repository yet, under **Code Discovery**, select your Git connection. If you have already connected your Git repository, under **Manual Import**, click **Postman Workspace**.

Once connected, the API Catalog will automatically discover your APIs and add them to the catalog. You can manage your APIs in the catalog and set rules for them as needed.