Your saved articles sit in the project folder until you send them somewhere. Running `wtfm publish` signs you in, links the folder to a SupportPages.io help centre, and uploads the articles as drafts you can read over first. ## Before you start - A project set up with `wtfm init`. - At least one article saved in the project folder. - A connection to the internet, so WTFM can reach SupportPages.io. ## Run the publish command Open a terminal in your project folder and run: ```bash wtfm publish ``` WTFM lists the articles saved in this folder, then walks you through signing in, choosing a help centre, and uploading them. ## Steps ### Step 1: Sign in to SupportPages.io Pick **Sign in to my existing SupportPages.io account**, or **Create a free SupportPages.io account and help centre** if you're new here. A browser window opens so you can approve this device, and WTFM carries on in the terminal once you're back. ![Sign in to SupportPages.io](https://help.wtfm.sh/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTI0MDIsInB1ciI6ImJsb2JfaWQifX0=--1ff22e60acbe5058791e745eb60d6818d9285c08/block_sign-in.png) ### Step 2: Choose your help centre Select the help centre these articles should belong to. If you don't have one yet, choose **Create a new help centre** and give it a name and its address. Confirm the connection when WTFM asks and the folder is linked. ![Choose your help centre](https://help.wtfm.sh/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTI0MDYsInB1ciI6ImJsb2JfaWQifX0=--7b4fc00e55fd6b6eddd2c8f865ccf446373c5abb/block_choose-help-centre.png) ### Step 3: Upload your articles Every saved article is already selected in the **Which articles should be uploaded as drafts?** list. Clear any you'd rather send later, then press Enter to upload the rest as drafts. ![Upload your articles](https://help.wtfm.sh/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MTI0MjAsInB1ciI6ImJsb2JfaWQifX0=--4e37354d8b2228193d0a50b8ce7e7ec6d594ebb1/block_upload-drafts.png) ## Tips - Drafts aren't public. Open each link, give the article a read, then publish it in SupportPages.io when you're happy with it. - The folder stays linked to that help centre, so run `wtfm publish` again whenever you've written something new. - Already signed in on this computer? WTFM skips the sign-in step and goes straight to your articles. - When you connect a help centre for the first time, WTFM also asks for its writing style. That choice covers the whole help centre, including articles your team writes later. ## Summary Run `wtfm publish`, sign in, pick your help centre, and send your articles over as drafts. The articles stay in this folder as well, and every new one can follow the same route.