Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.zeroagent.io/llms.txt

Use this file to discover all available pages before exploring further.

We’re Getting Better Every Day! Sorry for any mistakes. You can contact our Support Team for more information
Having trouble? Try these steps:
  • Add the store again and try connecting again.
  • If connection fails after adding store, notification will be shown on the console. Try connecting again.
  • Verify App Credentials: Ensure your App ID and App Key are accurate and correctly entered.
  • Check Browser Console: Inspect the browser console for error messages that may indicate the issue.
  • Still Need Help?: Reach out to our dedicated Support Team for further assistance.
We currently support a limited number of applications, but we’re working to add more soon. In the meantime, our Support Team is here to help.
If you encounter issues regarding async/await is not yet supported in Client Components, only Server Components please use below method.
app/layout.tsx
import Script from "next/script"; 

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {

      return (
    <html lang="en" className="">
      <head>
        {/* Widget Element */}
        <Script
        src="https://cdn.jsdelivr.net/npm/@zeroagent/js@latest/dist/index.js" 
        async
        strategy="beforeInteractive"
      ></Script>
      <Script
          id="zeroagent-init"
          strategy="afterInteractive"
          dangerouslySetInnerHTML={{
            __html: `
              Zeroagent('d9a5be9969274c95b998a611949ec46e', 'kwT5hBdZGr_RykXJTRscOvXBx93QGVoRJfz-EzhZLdo');
            `,
          }}          
        />

      </head>
      <body
        className={`${geistSans.variable} ${geistMono.variable} antialiased`}
      >
        {children}
        
        {/* Widget Element */}
      <div id="zeroagent-ai-widget"></div>
      </body> 
    </html>
  );
}