{"_id":"55a6924a51457325000e4e08","version":{"_id":"54cf411f9d09bb0d00a17a1f","project":"54cf411f9d09bb0d00a17a1c","__v":14,"createdAt":"2015-02-02T09:19:27.656Z","releaseDate":"2015-02-02T09:19:27.656Z","categories":["54cf41209d09bb0d00a17a20","54cfb99bbba1a023008741af","54cfb9a65ff7e617002bbd7f","54cfba03bba1a023008741b6","54cfba0ebba1a023008741b8","54cfba19bba1a023008741b9","54cfba29bba1a023008741bb","54cfba345ff7e617002bbd87","54cfba3ebba1a023008741bc","54cfba473995cf0d0006f6f0","54e371b18ef7552300409bf2","54e37aa5e887c50d005ef629","555a4e9b147f91190092d137","56b0e91802f4bc0d006ce254"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"555a4e9b147f91190092d137","project":"54cf411f9d09bb0d00a17a1c","version":"54cf411f9d09bb0d00a17a1f","__v":7,"pages":["555a4fe6147f91190092d13b","556da37542dd610d00a3d026","55818c348625220d00429d13","55a6924a51457325000e4e08","55af5ae7826d210d00041e4d","5638e7e72fc5520d001a4cf0","5665cdbbe93ae70d00b969f3"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-18T20:42:03.136Z","from_sync":false,"order":6,"slug":"account-management","title":"Account Management"},"parentDoc":null,"user":"54cfa8c8a8a4fd0d00b7fd1c","project":"54cf411f9d09bb0d00a17a1c","__v":28,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-15T17:03:06.757Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"Cloud9 integrates with several third party services to make it easy to get your code on Cloud9 (you may also [upload files](doc:download-files) directly from your local machine). Depending on the service you connect, this integration may allow you to:\n\n1. Start a workspace based on the code from those integrations.\n2. Add your Cloud9 SSH key to your account with the integration so you can push code directly there without typing in your username and password each time.\n3. Log into Cloud9 using authentication from your connected service.\n\n## Connecting services\n\nTo integrate third party services, head to your [Connected Services](https://c9.io/account/services) page and connect or disconnect GitHub and BitBucket as you please.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/Yz7Av4PURMCii3hW8b6C_connectButtons.png\",\n        \"connectButtons.png\",\n        \"1924\",\n        \"540\",\n        \"#85413b\",\n        \"\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\nOnce you have connected your GitHub or BitBucket account, you can head over to your [repositories page](https://c9.io/account/repos) to create a workspace from one of those repos ([more details here](doc:setting-up-github-workspace)).\n\n## Disconnecting services\n\nIt is recommended that connected services like Github and Bitbucket be disconnected from within Cloud9 and not from the service. If you did disconnect the service out side of Cloud9, you can reactivate it by disconnecting the service from within Cloud9 and reconnecting using the method described above.\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"**Note:** Sometimes users will sign up for an account and forget that they've never connected that account to GitHub. When they go to sign in, they think they can sign in with GitHub but that ends up making a new Cloud9 account.\\n\\nIf this occurs, sign out of your current account then sign in with whatever service you're trying to connect. At this point, you may be asked for an email address and you can just put in any email that's not already associated with a Cloud9 account (it can even be made up). Now you'll just want to [delete that second account completely](doc:deleting-your-account).\\n\\nOnce you've done this, you can now log into your original Cloud9 account and run through the guide above to link your GitHub account to your desired Cloud9 account.\",\n  \"title\": \"Accidentally Creating A Second Account\"\n}\n[/block]","excerpt":"A guide on how to connect and integrate your Cloud9 account with services like GitHub and BitBucket","slug":"connected-services","type":"basic","title":"Connected Services"}

Connected Services

A guide on how to connect and integrate your Cloud9 account with services like GitHub and BitBucket

Cloud9 integrates with several third party services to make it easy to get your code on Cloud9 (you may also [upload files](doc:download-files) directly from your local machine). Depending on the service you connect, this integration may allow you to: 1. Start a workspace based on the code from those integrations. 2. Add your Cloud9 SSH key to your account with the integration so you can push code directly there without typing in your username and password each time. 3. Log into Cloud9 using authentication from your connected service. ## Connecting services To integrate third party services, head to your [Connected Services](https://c9.io/account/services) page and connect or disconnect GitHub and BitBucket as you please. [block:image] { "images": [ { "image": [ "https://files.readme.io/Yz7Av4PURMCii3hW8b6C_connectButtons.png", "connectButtons.png", "1924", "540", "#85413b", "" ], "border": true } ] } [/block] Once you have connected your GitHub or BitBucket account, you can head over to your [repositories page](https://c9.io/account/repos) to create a workspace from one of those repos ([more details here](doc:setting-up-github-workspace)). ## Disconnecting services It is recommended that connected services like Github and Bitbucket be disconnected from within Cloud9 and not from the service. If you did disconnect the service out side of Cloud9, you can reactivate it by disconnecting the service from within Cloud9 and reconnecting using the method described above. [block:callout] { "type": "warning", "body": "**Note:** Sometimes users will sign up for an account and forget that they've never connected that account to GitHub. When they go to sign in, they think they can sign in with GitHub but that ends up making a new Cloud9 account.\n\nIf this occurs, sign out of your current account then sign in with whatever service you're trying to connect. At this point, you may be asked for an email address and you can just put in any email that's not already associated with a Cloud9 account (it can even be made up). Now you'll just want to [delete that second account completely](doc:deleting-your-account).\n\nOnce you've done this, you can now log into your original Cloud9 account and run through the guide above to link your GitHub account to your desired Cloud9 account.", "title": "Accidentally Creating A Second Account" } [/block]