static-cms/website/content/docs/bitbucket-backend.mdx
Daniel Lautzenheiser c55d1f912f
Improved types and updated documentation (#71)
* v1.0.0-alpha44
2022-11-07 10:27:58 -05:00

32 lines
820 B
Plaintext

---
group: Backends
title: Bitbucket
weight: 30
---
- **Name**: `bitbucket`
For repositories stored on Bitbucket, the `bitbucket` backend allows CMS users to log in directly with their Bitbucket account. Note that all users must have write access to your content repository for this to work.
## Authentication
To enable Bitbucket authentication it:
1. Follow the authentication provider setup steps in the [Netlify docs](https://www.netlify.com/docs/authentication-providers/#using-an-authentication-provider).
2. Add the following lines to your Static CMS `config` file:
<CodeTabs>
```yaml
backend:
name: bitbucket
repo: owner-name/repo-name # Path to your Bitbucket repository
```
```js
backend: {
name: 'bitbucket',
repo: 'owner-name/repo-name', // Path to your Bitbucket repository
},
```
</CodeTabs>