{"id":10747,"date":"2023-12-14T13:40:15","date_gmt":"2023-12-14T07:40:15","guid":{"rendered":"https:\/\/betterdocs.co\/?post_type=docs&#038;p=10747"},"modified":"2025-06-22T16:44:42","modified_gmt":"2025-06-22T10:44:42","password":"","slug":"write-with-ai","status":"publish","type":"docs","link":"https:\/\/betterdocs.co\/it\/docs\/write-with-ai\/","title":{"rendered":"How To Configure The Write With AI Feature In BetterDocs?"},"content":{"rendered":"\n<p><a href=\"http:\/\/betterdocs.co\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>BetterDocs<\/strong><\/a> <strong>Write With AI<\/strong> feature helps you automatically write documentation from scratch using a few keywords and prompts. With this, you can quickly build a powerful and enriched knowledge base for your WordPress website with the help of artificial intelligence.<\/p>\n\n\n\n<p><em>[Note: You can also generate&nbsp;<strong>FAQ with AI<\/strong>&nbsp;in BetterDocs for FREE. Follow <strong><a href=\"https:\/\/betterdocs.co\/docs\/write-faq-with-ai-in-betterdocs\/\" data-type=\"link\" data-id=\"https:\/\/betterdocs.co\/docs\/write-faq-with-ai-in-betterdocs\/\" target=\"_blank\" rel=\"noreferrer noopener\">this documentation<\/a><\/strong> to learn how to write FAQ with AI on WordPress Using BetterDocs.]<\/em><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Write Documentation with AI Using  BetterDocs [Guide for WordPress Site]\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/qZYVbRv9elM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How To Configure The Write With AI Feature In BetterDocs?<\/strong><\/h2>\n\n\n\n<p>Follow the step-by-step guide below to learn how to configure the <strong>Write With AI<\/strong> feature in your knowledge base for WordPress websites with just a few steps.<\/p>\n\n\n\n<p><em><strong>Note:<\/strong> Before getting started, you need to <\/em><a href=\"https:\/\/betterdocs.co\/docs\/activate-betterdocs\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><em>install and activate BetterDocs<\/em><\/strong><\/a><em> on your website.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Add Your OpenAI API Key In BetterDocs<\/strong><\/h3>\n\n\n\n<p>To use this feature, you have to integrate OpenAI into BetterDocs on your website. And to do so, first, you need to retrieve your OpenAI API Key.&nbsp;<\/p>\n\n\n\n<p>From the BetterDocs dashboard, navigate to <strong>Settings \u2192 AI Content Suite<\/strong>. There you will find the option to <strong>add an API key<\/strong> from the <strong>\u2018API Settings\u2019<\/strong> tab.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1351\" height=\"757\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-30.png\" alt=\"Write with AI in BetterDocs\" class=\"wp-image-15254\" title=\"\" srcset=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-30.png 1351w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-30-300x168.png 300w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-30-1024x574.png 1024w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-30-768x430.png 768w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-30-18x10.png 18w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-30-360x202.png 360w\" sizes=\"(max-width: 1351px) 100vw, 1351px\" \/><\/figure>\n<\/div>\n\n\n<p>To get the API keys, go to the <a href=\"https:\/\/platform.openai.com\/api-keys\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>OpenAI platform page<\/strong><\/a>. Click the <strong>\u2018Create new secret key\u2019<\/strong> button, and a prompt will ask you to give a name.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1600\" height=\"795\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9.png\" alt=\"Write With AI\" class=\"wp-image-10749\" title=\"\" srcset=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9.png 1600w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9-300x149.png 300w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9-1024x509.png 1024w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9-768x382.png 768w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9-1536x763.png 1536w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9-18x9.png 18w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-9-360x179.png 360w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n<\/div>\n\n\n<p>Type any name of your preference and hit the <strong>\u2018Create secret key\u2019<\/strong> button. Your secret key will be generated automatically and instantly.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1600\" height=\"795\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10.png\" alt=\"Write With AI\" class=\"wp-image-10750\" title=\"\" srcset=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10.png 1600w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10-300x149.png 300w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10-1024x509.png 1024w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10-768x382.png 768w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10-1536x763.png 1536w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10-18x9.png 18w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-10-360x179.png 360w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n<\/div>\n\n\n<p>Just copy your code and paste it into the <strong>\u2018API Key\u2019<\/strong> field on your BetterDocs settings. Then, hit the <strong>\u2018Save Changes<\/strong>&#8216; button as shown below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"755\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11.png\" alt=\"Write With AI\" class=\"wp-image-10751\" title=\"\" srcset=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11.png 1600w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11-300x142.png 300w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11-1024x483.png 1024w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11-768x362.png 768w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11-1536x725.png 1536w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11-18x8.png 18w, https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-11-360x170.png 360w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Add A New Doc From The Dashboard<\/strong><\/h3>\n\n\n\n<p>After you add the OpenAI API key, you can now write new documentation with the help of AI with a few keywords. From BetterDocs, click <strong>\u2018Add New.\u2019<\/strong> Click the \u2018<strong>Write With AI<\/strong>\u2019 button, set a Documentation Title, suggest some Keywords, and make the prompt as specific as you require. Then hit the \u2018<strong>Generate Doc<\/strong>\u2019 button. It will automatically generate your documentation in a few seconds.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"720\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-5.gif\" alt=\"Write With AI\" class=\"wp-image-10752\" title=\"\"><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Rewrite An Existing Doc With AI In BetterDocs<\/strong><\/h2>\n\n\n\n<p>Just like you add new documentation with this feature, you can rewrite or modify an existing document from your knowledge base. To do this, open an existing document and hit the \u2018<strong>Write with AI<\/strong>\u2019 button. Then set the document title, add keywords, and input prompts. If you want to overwrite the document, enable the \u2018<strong>Overwrite your existing Doc<\/strong>\u2019 button and hit the \u2018<strong>Generate Doc<\/strong>\u2019 button. Your document will be generated automatically.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"720\" src=\"https:\/\/betterdocs.co\/wp-content\/uploads\/2023\/12\/image-6.gif\" alt=\"Write With AI\" class=\"wp-image-10753\" title=\"\"><\/figure>\n<\/div>\n\n\n<p>That\u2019s how simply you can configure this <strong>\u2018Write With AI\u2019<\/strong> feature and write documentation with <strong>BetterDocs<\/strong> with a few clicks and keywords.<\/p>\n\n\n\n<p>Getting Stuck? Feel free to contact our <a href=\"https:\/\/wpdeveloper.com\/support\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>dedicated support team<\/strong><\/a> for further assistance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Effortlessly integrate AI into your documentation workflow with BetterDocs! <\/p>\n<p>Follow the steps to configure &#8216;Write With AI&#8217; and create enriched knowledge base for your WordPress site.<\/p>","protected":false},"author":32,"featured_media":10752,"template":"","meta":{"_eb_attr":"","inline_featured_image":false,"_eb_data_table":"","_analytify_skip_tracking":false,"footnotes":""},"doc_category":[309],"doc_tag":[10,230,14,18,11,17,69,16],"knowledge_base":[282],"class_list":["post-10747","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-configurations","doc_tag-betterdocs","doc_tag-betterdocs-knowledgebase-gutenberg","doc_tag-configuration","doc_tag-documentation","doc_tag-faq","doc_tag-knowledge-base","doc_tag-single-doc","doc_tag-wordpress","knowledge_base-wordpress"],"year_month":"2026-04","word_count":453,"total_views":"7352","reactions":{"happy":"34","normal":"16","sad":"12"},"author_info":{"name":"Abdullah Mamun","author_nicename":"mamun","author_url":"https:\/\/betterdocs.co\/it\/author\/mamun\/"},"doc_category_info":[{"term_name":"Configurations","term_url":"https:\/\/betterdocs.co\/it\/docs\/shopify\/configurations\/"}],"doc_tag_info":[{"term_name":"betterdocs","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/betterdocs\/"},{"term_name":"BetterDocs Knowledgebase Gutenberg","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/betterdocs-knowledgebase-gutenberg\/"},{"term_name":"configuration","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/configuration\/"},{"term_name":"documentation","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/documentation\/"},{"term_name":"faq","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/faq\/"},{"term_name":"knowledge base","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/knowledge-base\/"},{"term_name":"Single Doc","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/single-doc\/"},{"term_name":"WordPress","term_url":"https:\/\/betterdocs.co\/it\/docs-tag\/wordpress\/"}],"knowledge_base_info":[{"term_name":"WordPress","term_url":"https:\/\/betterdocs.co\/it\/docs\/wordpress\/","term_slug":"wordpress"}],"knowledge_base_slug":["wordpress"],"_links":{"self":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/docs\/10747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/users\/32"}],"version-history":[{"count":8,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/docs\/10747\/revisions"}],"predecessor-version":[{"id":15255,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/docs\/10747\/revisions\/15255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/media\/10752"}],"wp:attachment":[{"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/media?parent=10747"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/doc_category?post=10747"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/doc_tag?post=10747"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/betterdocs.co\/it\/wp-json\/wp\/v2\/knowledge_base?post=10747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}