> 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.

# Generate SDKs in Postman

You can generate SDKs using the Postman CLI or the Postman app. The generated SDKs are available for download and come with autogenerated documentation. You can [connect your GitHub repo](/docs/sdk-generator/generate/generate-sdks-locally/#connect-to-your-github-repo) to sync your SDK and create a pull request with the generated code.

The Postman SDK Generator also enables you to [generate SDKs locally](/docs/sdk-generator/generate/generate-sdks-locally/) without affecting your public collections in the cloud. This way, you can experiment with SDK generation and test different configurations in a safe, isolated environment. You can also [pull SDKs from your cloud collections](/docs/sdk-generator/generate/generate-sdks-locally/#pull-sdks-from-postman-cloud) to your local workspace.

You can also generate command-line interfaces (CLIs) using Postman. CLIs provide terminal access to your API operations with built-in authentication and AI agent integration. To learn more, see [CLI Generator](/docs/cli-generator/overview/).

## Permissions required to generate SDKs

You must have Editor or higher access to the collection or specification to generate an SDK. Viewers can view and download existing SDKs, but they can't generate new ones. Learn more about [Postman roles and permissions](/docs/administration/roles-and-permissions).

## Generate SDKs in Postman

Use the following topics to generate and manage SDKs:

* [Generate SDKs from collections and API specifications](/docs/sdk-generator/generate/generate-sdks/)
* [Generate SDKs locally and sync with GitHub](/docs/sdk-generator/generate/generate-sdks-locally/)

## Next steps

After generating your SDKs, explore these resources to get the most out of your generated code:

* **[Use SDKs generated in Postman](/docs/sdk-generator/use/overview/)** - Learn how to integrate and use your generated SDKs in your projects.
* **[Configure SDK generation in Postman](/docs/sdk-generator/configure/overview/)** - Customize your SDK generation settings and options.
* **[Generate CLI from your collection or specification](/docs/cli-generator/overview/)** - Generate command-line interfaces with built-in authentication and AI agent integration.
* **[Troubleshoot SDK generation](/docs/sdk-generator/troubleshoot/)** - Resolve common issues and get help with SDK generation problems.
* **[SDK CLI commands](/docs/postman-cli/postman-cli-sdk-gen/)** - Learn how to use the Postman SDK CLI for generating and managing your SDKs.