Admin Panel

To set up the admin panel, access admin.example.com and configure the pages, users, categories, settings, and configurations.

Authentication

Go to admin.example.com, and you will be redirected to Cloudflare Zero Trust for authentication. You can log in using your Gmail account or by verifying your email with a code. Once authenticated, you will be taken to the admin panel.

Setup Configs

To work with data storage, we first need to initialize the database and set up the required object storage. Once both are properly configured and connected, we can save the other settings. Please follow the instructions.

  • Go to admin.example.com, then navigate to Settings and click on Configs tab.
  • Click on D1, enable all the options, and click Save Config. This will initialize the database.
  • Next, click on R2, enable all the options, and click Save Configs. This will create and push all the required data to the object storage.
  • Once completed, simply reload the admin panel.

CDN and Logos

Under the Settings section, you can configure the CDN and logos for the admin panel.

  • Go to Settings and select Info.
  • Set the site name to Example.
  • Set the site URL to https://example.com.
  • Set the CDN URL to https://cdn.example.com.
  • Set the logout URL to https://auctus.cloudflareaccess.com/cdn-cgi/access/logout.
  • Click Save.


  • Go to Settings and select Logo.
  • Upload all the required logos for both admin and frontend.
  • Click Save.

✨ To adjust the frontend logo size, we will configure it during the frontend setup.

Setup Site

Once you've finished setting up CDN and logos, the next task is to set up the current site data. Follow these instructions:

  • Go to Settings and select Sites tab.
  • Click on the first item and enable the Linked and Rewrite options.
  • Set the site name to Example.
  • Set the site code to EX.
  • Set the URL to https://admin.example.com.
  • Set both the light and dark logo links.
  • Click Save.

Add Categories

Under Categories section, you can create a site-specific list of required categories. By default, categories are site-based, but you also have the option to create question type categories for individual questions.

Add Users

The best option is to import users from a central site. Simply visit the central site, copy the list of users, and import them through the Users section.

Create Pages

Each site requires at least three pages to be set up.

  • Go to Pages and select + button.
  • Set categorry as Pages
  • Set title as About Us and hit publish.
  • Repeate same steps for Contact Us and Privacy Policy.

Update Settings

For the remaining settings, such as configuring the menu, theme options, custom CSS, etc., you can simply follow the setup of any existing site.

✨ All set! The admin panel is now ready.