"use strict";(globalThis.webpackChunk_elliemae_pui_diagnostics=globalThis.webpackChunk_elliemae_pui_diagnostics||[]).push([[6803],{116:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>l});var i=n(758);const s={},a=i.createContext(s);function o(e){const t=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(a.Provider,{value:t},e.children)}},6190:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>l,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"installation","title":"Installation","description":"CDN","source":"@site/docs/installation.md","sourceDirName":".","slug":"/installation","permalink":"/diagnostics/installation","draft":false,"unlisted":false,"editUrl":"https://git.elliemae.io/platform-ui/pui-diagnostics.git/docs/installation.md","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Getting Started","permalink":"/diagnostics/"},"next":{"title":"Basic Example","permalink":"/diagnostics/usage"}}');var s=n(6070),a=n(116);const o={},l="Installation",r={},c=[{value:"CDN",id:"cdn",level:2},{value:"Npm",id:"npm",level:2}];function d(e){const t={code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"installation",children:"Installation"})}),"\n",(0,s.jsx)(t.h2,{id:"cdn",children:"CDN"}),"\n",(0,s.jsx)(t.p,{children:"Add the pui-diagnostics JS library to your application HTML from Assets CDN"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-html",children:'<script src="https://assets.ellieservices.com/pui-diagnostics"><\/script>\n'})}),"\n",(0,s.jsx)(t.p,{children:"logger and other public APIs are exposed through window variable emuiDiagnostics"}),"\n",(0,s.jsx)(t.h2,{id:"npm",children:"Npm"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"npm install @elliemae/pui-diagnostics"})})]})}function p(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}}}]);