Publish a public-facing SDK

This guide will walk you through how to publish public-facing SDKs through Fern.
Navigate to your generators.yml
This guide assumes that you already have an initialized fern folder. If you don’t
please run fern init
!
Your generators.yml
lives inside of the fern folder and contains all
the configuration for your Fern generators.
Run `fern add
In order to generate the SDK, we’ll need to add the generator to your
generators.yml
. You can use the fern <add>
command to do this.
Once the command completes, you’ll see a new group created in your generators.yml
.
Here are the latest versions of each generator.
Configure output
location
In order to setup publishing your SDK, you’ll need to configure
an output location in your generators.yml
.
Install GitHub app
To configure the GitHub integration, you must (1) create a GitHub repository and (2) install the Fern GitHub App.
Configure GitHub
location
Once you’ve created the GitHub repository, you must add it to your generators.yml
: