Exporting Iguana 6 code to a Repository
This is a guide on how to export your channels to a Git repository with Iguana 6 if you have not done it before or need a refresher! We focus on Bitbucket, but many of the concepts will apply if you are using Github or another git hosting provider.
STEP 1: It's helpful to have a Git service account - you get a free one with bitbucket
For Bitbucket - go to https://www.bitbucket.com/, click on Get it free and follow the steps to get a free account.
STEP 2: From your new Workspace, create an empty repository
-
First create a Workspace, name it anything you like.

-
Create the repository:
-
The repository Access Level can be public or private.
-
You must name the Default branch name: master - Iguana 6 looks for this specific branch name.
-
Then click Create Repository
![]()
STEP 3: In Iguana 6, go to Settings → Add and Configure Repositories
In Iguana 6, click New Repository. You'll see a screen like this:
![]()
STEP 4: Fill it out with the details of your repository
-
Copy the https:// URL from your created Bitbucket repository:

-
In Iguana 6, enter any name for the Repository and paste the https:// URL for your repository.
![]()
-
Click Save Repository. It should look like this:

STEP 5: Create an App Password in Bitbucket
-
Navigate to Personal Bitbucket Settings:
![]()
-
Take note of your Username and navigate to App Passwords:

-
Click Create app password. Edit the permissions to look like this:

-
Click Create andcopy the App Password(save it somewhere for STEP 7)
STEP 6: In Iguana 6, go to your channel and click export
-
Click the channel name:

-
Export the channel:
![]()
-
Select which channels you want to export. Don't forget to include sample data.
-
Make sure you are exporting to the correct repository and click Export selected channels.

STEP 7: Use your Username and App Password to authenticate with bitbucket.
-
Enter a commit message, click Ok.
-
Enter your Bitbucket Username and App Password that were created in STEP 5:

-
Click Continue and you should be met with this message:
