# API Autodiscovery and Runtime Registration

*MuleSoft Platform Architect Study Guide · Architecting and deploying API implementations · Last updated November 13, 2026 · https://www.certifyforce.com/study-guide/mulesoft-platform-architect/architecting-and-deploying-api-implementations/api-autodiscovery-and-runtime-registration*

Pair a Mule implementation with its managed API instance using the correct instance identifier, credential scope and runtime configuration.

- Certification: Salesforce MuleSoft Platform Architect
- Exam section: Architecting and deploying API implementations
- Study guide: https://www.certifyforce.com/study-guide/mulesoft-platform-architect

**Official exam objective:**

> Explain how to use auto-discovery to link a web API implementation to an API instance managed with API Manager.

## What the exam expects

- Link an implementation to the intended API Manager instance.
- Select credentials whose scope includes that instance.
- Distinguish API pairing from registering a runtime for deployment management.
- Explain configuration differences across standalone, Studio and managed deployments.

**Autodiscovery** pairs a Mule API implementation with API Manager; an **API ID** identifies the managed instance; **flowRef** selects the application's listener flow; **environment credentials** identify one platform environment ([autodiscovery configuration](https://docs.mulesoft.com/mule-gateway/mule-gateway-config-autodiscovery-mule4), [credential scope](https://docs.mulesoft.com/mule-gateway/mule-gateway-org-credentials-mule4)).

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Pairing purpose | Download policies and generate analytics. | [Overview](https://docs.mulesoft.com/mule-gateway/mule-gateway-autodiscovery-overview) |
| Instance identity | `apiId` names the API Manager instance. | [Configuration](https://docs.mulesoft.com/mule-gateway/mule-gateway-config-autodiscovery-mule4) |
| Flow requirement | `flowRef` selects an HTTP Listener flow. | [Configuration](https://docs.mulesoft.com/mule-gateway/mule-gateway-config-autodiscovery-mule4) |
| Credential scope | Environment credentials cover that environment's APIs. | [Credentials](https://docs.mulesoft.com/mule-gateway/mule-gateway-org-credentials-mule4) |
| Hierarchy | Parent credentials can manage child-group APIs. | [Credentials](https://docs.mulesoft.com/mule-gateway/mule-gateway-org-credentials-mule4) |
| Wrapper entries | Every additional-property number must be unique. | [Credentials](https://docs.mulesoft.com/mule-gateway/mule-gateway-org-credentials-mule4) |
| Studio connection | Configure credentials in Studio's API Manager preferences. | [Credentials](https://docs.mulesoft.com/mule-gateway/mule-gateway-org-credentials-mule4) |
| Generated-proxy route | Its deployment mechanism populates credentials and applicable URLs. | [Credentials](https://docs.mulesoft.com/mule-gateway/mule-gateway-org-credentials-mule4) |

## Check yourself

- When an administrator needs organization or business-group credentials, which Access Management tab does the documented retrieval procedure use?
- Why can an operator inspect values after the documented generated-proxy deployment, and where are they shown?
- When creating the API Autodiscovery global element through Studio's application editor, where does the developer begin?

## Sources

- [API Autodiscovery](https://docs.mulesoft.com/mule-gateway/mule-gateway-autodiscovery-overview)
- [Configure Autodiscovery in Mule 4](https://docs.mulesoft.com/mule-gateway/mule-gateway-config-autodiscovery-mule4)
- [Organization Credentials in Mule Runtime 4](https://docs.mulesoft.com/mule-gateway/mule-gateway-org-credentials-mule4)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 2 linked practice questions, and unlimited timed mock exams are included with the MuleSoft Platform Architect pack (USD $19): https://www.certifyforce.com/practice-exams
