| title | Documentation |
|---|---|
| icon | pencil |
| iconType | light |
| description | Rebrand and host this website. |
import { companyName, emailAddress } from '/snippets/whitelabel/config.mdx';
**{companyName}** documentation is compatible with the **Mintlify** platform out of the box. If you use another documentation platform, get in touch for assistance.Follow the steps below to whitelabel our documentation using Mintlify.
Go to your **Mintlify** directory then import the whitelabel project:```shell
git submodule add https://github.com/agentfirstdev/whitelabel
```
```shell
cd whitelabel
npm run whitelabel -- \
--path '[subdirectory/pathname here]' \
--company '[company name here]' \
--email [support address here] \
--endpoint [API domain here] \
--dashboard [dashboard URL here] \
--checkout [top-up URL here]
```
<Accordion icon='code' title='View customization example'>
We used `endpoints`, as in https://doc.agentfirst.dev/endpoints/search, `Agent First`,
`brain@agentfirst.dev`, `api.agentfirst.dev`, `https://agentfirst.dev/dashboard`, and
`https://agentfirst.dev/#pricing`:
```shell
cd whitelabel
npm run whitelabel -- \
--path endpoints \
--company 'Agent First' \
--email brain@agentfirst.dev \
--endpoint api.agentfirst.dev \
--dashboard https://agentfirst.dev/dashboard \
--checkout https://agentfirst.dev/#pricing
```
</Accordion>
<Accordion icon='code' title='View navigation example'>
Here's how we link from
[our configuration file](https://github.com/agentfirstdev/doc/blob/main/docs.json#L13-L53):
```json
...
"navigation": {
"groups": [
...
{
"group": "API",
"pages": [
"endpoints/search",
"endpoints/browser",
"endpoints/geotargeting",
"endpoints/scheduling",
"endpoints/reporting",
{
"group": "Reference",
"icon": "book",
"iconType": "light",
"pages": [
{
"group": "Search",
"pages": [
"endpoints/reference/search",
"endpoints/reference/search/results"
]
},
{
"group": "Browsing",
"pages": [
"endpoints/reference/browser",
"endpoints/reference/browser/content",
"endpoints/reference/browser/devices"
]
},
{
"group": "Reporting",
"pages": ["endpoints/reference/usage"]
},
...
]
}
]
},
...
]
},
...
```
</Accordion>
```shell
cd ..
mint dev
```
A local copy of your documentation will be hosted at http://localhost:3000/.
```shell
git push
```
If you've connected your repository to **Mintlify**, your documentation will be automatically
deployed.
```shell
git submodule update --remote
cd whitelabel
npm run whitelabel -- \
--path '[subdirectory/pathname here]' \
--company '[company name here]' \
--email [support address here] \
--endpoint [API domain here] \
--dashboard [dashboard URL here] \
--checkout [top-up URL here]
```