# Authentication

The way to provide these credentials depends on the type of app that you're developing. ShopBase supports two different types of apps: public apps and private apps.

### Public apps <a href="#public-apps" id="public-apps"></a>

A public app can interact with the ShopBase API on behalf of multiple stores, as long as the app has been granted explicit permission by each merchant who installs it.

You can [create a public app](/build-an-app/making-your-first-request/authentication/public-apps.md) from your [Partner Dashboard](https://accounts.shopbase.com/partners).

### Private apps <a href="#private-apps" id="private-apps"></a>

Private apps can interact with the ShopBase API on behalf of only one particular store. These apps authenticate with ShopBase through basic HTTP authentication. The required credentials must be generated from the ShopBase admin of the store that you want to connect with your app.

&#x20;To learn more about how authentication works for private apps, see [*Private authentication*](/build-an-app/making-your-first-request/authentication/private-apps.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.shopbase.com/build-an-app/making-your-first-request/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
