> For the complete documentation index, see [llms.txt](https://docs.onepub.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onepub.dev/guides/installing/cli-integration/manually-add-publish_to.md).

# Manually add publish\_to

#### Manually edit pubspec.yaml

Login to OnePub and copy the \`publish\_to:\` URL from the profile page:

![](https://2164893338-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJazaE7yAHIXZjE9ucSqu%2Fuploads%2FQoSqjNH9UA30G5bqvaUi%2Fimage.png?alt=media\&token=87b2712f-faf2-43fd-8bdd-a2f5e6a06791)

Add a `publish_to` key to your `pubspec.yaml`.

```yaml
name: onepub
version: 1.1.0

# Set onepub as the publish target.
publish_to: https://onepub.dev/api/xxxxxxx

```
