Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      15 Essential Skills to Look for When Hiring Node.js Developers for Enterprise Projects (2025-2026)

      August 4, 2025

      African training program creates developers with cloud-native skills

      August 4, 2025

      React.js for SaaS Platforms: How Top Development Teams Help Startups Launch Faster

      August 3, 2025

      Upwork Freelancers vs Dedicated React.js Teams: What’s Better for Your Project in 2025?

      August 1, 2025

      LastPass can now warn or block logins to shadow SaaS apps – here’s how

      August 4, 2025

      Get up to a year of Adobe Creative Cloud access for 40% off

      August 4, 2025

      Got 6 hours? This free AI training from Google and Goodwill can boost your resume today

      August 4, 2025

      Why I recommend this budget phone with a paper-like screen over ‘minimalist’ devices

      August 4, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Laravel Boost, your AI coding starter kit

      August 4, 2025
      Recent

      Laravel Boost, your AI coding starter kit

      August 4, 2025

      Using GitHub Copilot in VS Code

      August 4, 2025

      Optimizely Mission Control – Part I

      August 4, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Top 20 kubectl Commands Every Kubernetes Beginner Must Know

      August 4, 2025
      Recent

      Top 20 kubectl Commands Every Kubernetes Beginner Must Know

      August 4, 2025

      Microsoft’s record stock run collides with Nadella’s admission that 15,000 layoffs still ‘hurt’

      August 4, 2025

      Microsoft and Adobe Power Up Fantasy Premier League Fans with AI – Here’s How

      August 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Integrate Coveo Atomic CLI-Based Hosted Search Page into Adobe Experience Manager (AEM)

    Integrate Coveo Atomic CLI-Based Hosted Search Page into Adobe Experience Manager (AEM)

    June 18, 2025

    Getting Started with Coveo Atomic CLI

    This section explains how to install, configure, and deploy a Coveo Atomic project using the Coveo CLI

    Install the CLI

    To get started, install the Coveo CLI globally with npm:

    npm install -g @coveo/cli
    

    To ensure you’re always using the latest version, update it anytime with:

    npm update -g @coveo/cli

    Authentication

    Once the CLI is installed, you will need to authenticate to your coveo organization. Use the following command, replacing the placeholders with your specific organization details:

    coveo auth:login --environment=prod --organization=<your-organization> --region=<your-region>
    

    For example:

    coveo auth:login --environment=prod --organization=blogtestorgiekhkuqk --region=us
    

    Initialize an Coveo Atomic CLI Project

    After logging in, initialize a new atomic project by running:

    coveo atomic:init <project-name> --type=app
    

    For example:

    coveo atomic:init atomicInterface  --type=app
    

    Building and Deploying the Project

    Once the project is ready, build the application:

    npm run build
    

    This command compiles your code and prepares it for deployment. It creates a production-ready build inside the dist/ folder.

    Then deploy your interface to Coveo using:

    coveo ui:deploy
    

    After deployment, your search interface will be hosted on Coveo’s infrastructure, ready to embed anywhere—like Adobe

    B11

    Using and Initializing Atomic-Hosted-Page

    This section guides you through using and initializing the Atomic-Hosted-Page component of your Coveo project.

    Use Atomic-Hosted-Page

    If you have customized your Atomic search page locally and deployed it to the Coveo infrastructure, then it will be listed in the Custom Deployment tab of the Search Pages (platform-ca | platform-eu | platform-au) page of the Administration Console. You can use the atomic-hosted-page component to consume it from anywhere on the web.

    Initialize Atomic-Hosted-Page

    Once you have installed the atomic-hosted-page or atomic-hosted-ui web component, you’ll need to add a script like the following to initialize the atomic-hosted-page component:

    <head>
      <!-- ... -->
      <script>
        (async () => {
          await customElements.whenDefined('atomic-hosted-ui');
          const atomicHostedUIPage = document.querySelector('atomic-hosted-ui');
    
          await atomicHostedUIPage.initialize({
            accessToken: '<ACCESS_TOKEN>', 
            organizationId: '<ORGANIZATION_ID>', 
            pageId: '<PAGE_ID>' 
          });
        })();
      </script>
      <!-- ... -->
      <atomic-hosted-ui hosted-type="code"></atomic-hosted-ui> 
      <!-- ... -->
    </head>

    In this script, replace the placeholders with coveo specific details:

    <ACCESS_TOKEN> (string) is an API key or platform token that grants the View all access level on the Search Pages domain in the target Coveo organization.
    <ORGANIZATION_ID> (string) is the unique identifier of your organization (for example, mycoveoorganizationa1b23c).
    <PAGE_ID> (string) is the unique identifier of the hosted page, which you can copy from the Administration Console.

    Steps to Embed in Adobe Experience Manager (AEM)

    1. Login to Adobe AEM Author Instance
      Example URL: https://author-555.adobeaemcloud.com/

    2. Navigate to the AEM Sites Console
      Go to:https://author-555.adobeaemcloud.com/sites.html/content/blog/us/en/search-results
      The Sites Console in AEM, used to manage your website’s pages and structure.
      B12

    3. Create or Select the Page

      • Create new or use an existing page, for example: search-results.

      • Select the page’s checkbox → click Edit (top toolbar).

      • You’ll be redirected to the Page Editor: https://author-555.adobeaemcloud.com/editor.html/content/blog/us/en/search-results.html.

    4. Embed the Coveo Script:
      In the Page Editor, open the Content Tree on the left, select Layout Container, click the Configure (wrench icon) button B13

    5. Choose Embed Type
      Choose Embed → iFrame. Paste your <atomic-hosted-page> script inside the iFrame.
      B14

    6. Preview and Publish the Page

      Click Page Information icon → Publish Page, the alert confirms that the page will be live
      B15

    7. View the Published Page
      Example URL:http://localhost:4502/content/blog/us/en/search-results.html
      B16

    That’s it—you’ve successfully embedded your Coveo Atomic CLI-based Hosted Search Page inside Adobe!

    References:

    Use a hosted page in your infrastructure | Coveo Atomic

     

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleMastering TypeScript: Your Ultimate Guide to Types, Inference & Compatibility
    Next Article Microsoft Copilot for Power Platform

    Related Posts

    Development

    Laravel Boost, your AI coding starter kit

    August 4, 2025
    Repurposing Protein Folding Models for Generation with Latent Diffusion
    Artificial Intelligence

    Repurposing Protein Folding Models for Generation with Latent Diffusion

    August 4, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Allianz Life hit by hackers, customer and staff personal data stolen

    Development

    Lost in Translation: How to Overcome Miscommunication Between Clients and Business Analysts

    Web Development

    Understanding JavaScript Promise

    Development

    CVE-2025-7139 – SourceCodester Best Salon Management System Cross-Site Scripting

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    CVE-2025-3962 – Withstars Books-Management-System Cross-Site Scripting Vulnerability

    April 27, 2025

    CVE ID : CVE-2025-3962

    Published : April 27, 2025, 7:15 a.m. | 1 hour ago

    Description : A vulnerability classified as problematic was found in withstars Books-Management-System 1.0. This vulnerability affects unknown code of the file /api/comment/add of the component Comment Handler. The manipulation of the argument content leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.

    Severity: 3.5 | LOW

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    CERT-UA Reports Cyberattacks Targeting Ukrainian State Systems with WRECKSTEEL Malware

    April 4, 2025

    How to lock in your Xfinity rate for 5 years, get unlimited data, and score a free mobile line

    June 27, 2025

    Distribution Release: Red Hat Enterprise Linux 10.0

    May 20, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.