Add Duo agentic platform sidebar widget for self-managed

What does this MR do and why?

Add Duo agentic platform sidebar widget for self-managed

Screenshots or screen recordings

Click to expand

Screen_Recording_2025-09-04_at_10.25.25_AM

How to set up and validate locally

note: Fully covered in testing and feature specs for happy path.

Click to expand
  1. Set up your GDK to point to CustomersDot Staging. In gdk.yml:
license:
 customer_portal_url: https://customers.staging.gitlab.com
 license_mode: test
  1. Also make sure you don't have GITLAB_SIMULATE_SAAS env variable as truthy, then you can reconfigure and restart GDK.
  2. Purchase a license that is at least Premium on https://customers.staging.gitlab.com
    • Follow this URL to purchase an Ultimate self-managed license (see these docs for details)
    • You can use a test credit card to complete these purchases
  3. Copy the activation code for the license from CustomersDot
  4. Go to the Admin area > Subscription and upload the activation code
  5. Comment out this line so that it is now # return false unless on_or_past_release_date?
  6. Refresh and ensure the widget is seen. If not shown, may need to purchase a duo pro/duo enterprise add on if duo core isn't automatically added due to being in local env. See here for more detail add on purchase instructions.
  7. Once uploaded, go to this path /admin/gitlab_duo/configuration in your browser. For example: http://gdk.test:3000/admin/gitlab_duo/configuration
  8. Try different combinations as shown in this table and then use the widget to enable.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #565473

Edited by Doug Stull

Merge request reports

Loading