Statamic Installation

Install Notedis on a Statamic site with the official addon. It works with static caching.


Prerequisites

  • Statamic 4, 5 or 6
  • PHP 8.1 or higher
  • Notedis account with site key

Installation Steps

Step 1: Get Your Site Key

  1. Log in to your Notedis dashboard
  2. Navigate to Sites
  3. Click the Edit button on your site (or create a new one)
  4. Copy your Site Key (starts with site_)

Step 2: Install the Addon

composer require notedis/statamic-notedis

The widget script is published to public/vendor/notedis automatically. The addon is also listed on the Statamic Marketplace.


Step 3: Add Your Site Key

In the Control Panel:

  1. Go to Tools → Notedis
  2. Paste your Site Key
  3. Click Save Settings

Or in .env:

NOTEDIS_SITE_KEY=your-unique-site-key-here

The feedback button now appears on every front-end page.


Settings

Every setting can be set in the Control Panel or with an environment variable. Environment variables win and show as read-only in the Control Panel.

Setting Environment variable Default
Site Key NOTEDIS_SITE_KEY none
Button Position NOTEDIS_WIDGET_POSITION bottom-right
Button Color NOTEDIS_WIDGET_COLOR #3B82F6
Logged In Only NOTEDIS_LOGGED_IN_ONLY false
Show in Control Panel NOTEDIS_SHOW_IN_CP false
Widget Source (local or cdn) NOTEDIS_WIDGET_SOURCE local
Auto Inject NOTEDIS_AUTO_INJECT true

To see or change the settings page a user needs the Configure Notedis permission.


Placing the Widget Yourself

Turn Auto Inject off and add the tag to your layout, just before </body>:

{{ notedis }}

Testing

  1. Open your site in a private window
  2. Look for the feedback button in the corner you chose
  3. Click it and confirm the form opens

Troubleshooting

Button doesn't appear

  1. Check the Site Key is saved under Tools → Notedis, or set in .env
  2. Confirm public/vendor/notedis/js/widget.js exists. If not, run php please vendor:publish --tag=notedis-assets --force
  3. Clear caches with php please cache:clear and php please static:clear

Widget is out of date

Update the addon with composer update notedis/statamic-notedis, or set Widget Source to CDN to always load the latest widget.


Links

Next Steps