anchor.diff:  }
   ----
   
  -As you can see, this API endpoint works without being logged in and as GET-request!
  +As you can see, this API endpoint works as a GET request without being logged in!
   
   I created a space called `arc42 V8 flat English` with the space-key `8FE`.
  -So I configure it accordingly
  +So I configure it accordingly:
   
       // the key of the confluence space to write to
       spaceKey = '8FE'
  
positive.code: </style>
  ++++
  
  == Publish your Docs to Confluence
  
  There are times when you want to publish your docs to confluence.
  
  One such situation is when you work in a team where not everybody wants to work with git.
  In such a situation, docToolchain enables you to publish your git based docs to confluence, side-by-side with manually edited confluence pages.
  
  Another (special) situation is when you want to work with the arc42 template in confluence.
  There are several ways to import the template, but most of them require admin access.
  A solution can be to set up docToolchain with a fresh copy of the arc42 template and publish it to your confluence instance.
  
  In this tutorial, I will show you how to publish the arc42 template to a confluence cloud instance.
  
  === Setup docToolchain
  
  NOTE: For this tutorial, I assume that you work with a linux based system.
  
  Let's follow the two base tutorials to http://doctoolchain.org/docToolchain/v2.0.x/020_tutorial/010_Install.html[install docToolchain] and http://doctoolchain.org/docToolchain/v2.0.x/020_tutorial/020_arc42.html[get the arc42 template].
  
  `{nbsp}{nbsp}{nbsp}mkdir publishToConfluenceDemo` +
  `{nbsp}{nbsp}{nbsp}cd publishToConfluenceDemo`
  
negative.code: [.center]
  image::070-third.png[width=80%]
  
  NOTE: Here is the https://id.atlassian.com/manage-profile/security/api-tokens[shortcut] to this page.
  
  Now, click on **Create API token**.
  To keep things simple, I will copy this token to the config.
  
  (When you use the API token, you have to use your email as your username and the token as the password.)
  
  So we don't store the credentials in the config file, we pass them with the `./dtcw` command:
  
  .`./dtcw publishToConfluence -PconfluenceUser=<your email> -PconfluencePass=<your api-token>`
  [%collapsible]
  