-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from knowbee/ft-bitbucket
chore(guid): added bitbucket documentation
- Loading branch information
Showing
3 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Getting started with Bitbucket app | ||
|
||
Technical documentation on how to get started with bitbucket API | ||
|
||
## Getting a bitbucket **Auth token** | ||
|
||
To get the bitbucket **Auth token** you need to have [an Atlassian](https://atlassian.com) account. click [here](https://id.atlassian.com/login?continue=https%3A%2F%2Fdeveloper.atlassian.com%2F%2Fcloud%2Fbitbucket%2F) to login or create your account. | ||
|
||
|
||
To get the **Auth Token** open [this link](https://id.atlassian.com/manage-profile/security/api-tokens). | ||
|
||
On successfully creating the Auth token copy it and past it under `.env` on env variable **BITBUCKET_AUTH_TOKEN** | ||
|
||
|
||
 | ||
|
||
|
||
|
||
## Creating a bitbucket oAuth 2.0 App for authentication integration | ||
|
||
To create a bitbucket oAuth 2.0 app just visit [this link](https://developer.atlassian.com/console/myapps/) to get started | ||
|
||
Click the **Create** button to get started, from the drop down select **oAuth 2.0 integration** | ||
|
||
|
||
### Create an app | ||
|
||
To create an app : | ||
|
||
1. [Add the app name and check the check box to agree to terms](https://developer.atlassian.com/console/myapps/create-3lo-app/) | ||
|
||
2. Click create button to confirm | ||
|
||
3. Click Create app password. | ||
|
||
 | ||
|
||
|
||
Next you open the **App details** section and scroll down to copy the app **client ID** and **secret** | ||
|
||
Past the two values to their corresponding environment variables under `.env` | ||
|
||
``` | ||
BITBUCKET_CLIENT_ID= | ||
BITBUCKET_SECRET= | ||
``` | ||
|
||
|
||
|