{"id":59236,"date":"2026-12-03T13:01:42","date_gmt":"2026-12-03T10:01:42","guid":{"rendered":"https:\/\/sarhgroups.com\/?post_type=product&#038;p=59236"},"modified":"2026-12-03T20:33:11","modified_gmt":"2026-12-03T17:33:11","slug":"ai-for-business-course-en","status":"publish","type":"product","link":"https:\/\/sarhgroups.com\/en\/products\/ai-for-business-course-en","title":{"rendered":"AI for Business (CAIBP) Course"},"content":{"rendered":"\n<style id=\"sarh-crs-design-v1\">\/* ===========================================================================\n   Sarh course-product pages \u2014 certificate-page design system   (prefix: crs-)\n   ---------------------------------------------------------------------------\n   Authored from the measured cert system (cfm-\/cma-\/chrm-) rather than copied,\n   for three reasons:\n     1. The cert pages hand-mirror physical left\/right per language. Products\n        serve Arabic AND English from ONE stylesheet, so everything here is a\n        LOGICAL property (inline-start\/end). No RTL fork, no mirror bugs.\n     2. Products carry a WooCommerce <h1> already, so the hero heading is an h2.\n        Nothing here restyles h1 \u2014 the buy box above is left alone.\n     3. Products need three commerce components certificate pages never have\n        (price strip, related products, cohort widget mount).\n   Rhythm and scale copied exactly from the cert pages:\n     wrap  min(1180px, 100% - 48px)  \/  mobile 100% - 32px\n     sec   86px block padding        \/  mobile 62px\n     bands white  |  is-soft #f7f6f3 |  is-mist #eef3f7 (once per page)\n     breakpoints 1024 and 767 ONLY \u2014 the cert system has no phone breakpoint\n   HEADING SIZES: the cert pages' own clamps (h1 44-72, h2 34-56) never render \u2014\n   Customizer block sarh-title-scale-certs-v1 overrides them to h1 30-46 \/ h2 26-38.\n   Those EFFECTIVE sizes are written directly below, so this file needs no entry in\n   that Customizer list and cannot drift out of sync with it.\n   =========================================================================== *\/\n.crs-v1,.crs-v1 *{box-sizing:border-box}\n.crs-v1{\n  --nv:#16243f; --nvd:#101827; --rd:#b5181a; --rdd:#8f1214;\n  --soft:#f7f6f3; --mist:#eef3f7; --line:#dfe4ea;\n  --tx:#3f4a5d; --mu:#687386; --pk:#f3abb1;\n  width:100vw; margin-inline:calc(50% - 50vw); overflow:hidden;\n  color:var(--tx); background:#fff; font-family:inherit; line-height:1.9;\n}\n.crs-v1 img{display:block; max-width:100%}\n.crs-v1 a{color:inherit}\n.crs-v1 p{margin:0}\n.crs-v1 [id]{scroll-margin-block-start:110px}\n.crs-wrap{width:min(1180px,calc(100% - 48px)); margin-inline:auto}\n.crs-sec{padding-block:72px}\n.crs-sec.is-soft{background:var(--soft)}\n.crs-sec.is-mist{background:var(--mist)}\n\n\/* ---------- section head: big title beside its lede ---------- *\/\n.crs-head{margin-block-end:34px}\n.crs-head.has-lede{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);\n  gap:52px; align-items:end}\n.crs-head:not(.has-lede) h2{max-width:24ch}\n.crs-head h2{margin:0; color:var(--nvd); font-size:clamp(26px,2.7vw,38px);\n  line-height:1.3; font-weight:850; letter-spacing:-.015em; text-wrap:balance}\n.crs-head>p{color:var(--mu); font-size:16px; line-height:1.95}\n\n\/* ---------- the red kicker \u2014 rationed, hero + at most one section ---------- *\/\n.crs-kick{display:inline-flex; align-items:center; gap:10px; margin-block-end:12px;\n  color:var(--rd); font-size:13px; font-weight:800; letter-spacing:.01em}\n.crs-kick::before{content:\"\"; width:8px; height:8px; border-radius:50%;\n  background:currentColor; box-shadow:0 0 0 6px rgba(181,24,26,.09); flex:none}\n\n\/* ---------- opening section (replaces the old navy banner) ----------\n   The WooCommerce gallery, title, price and buy box sit directly above this, so a\n   second dark hero competed with them. This is an editorial opening instead. *\/\n.crs-intro{padding-block:56px 64px; border-block-end:1px solid var(--line)}\n.crs-intro h2{margin:0 0 18px; max-width:20ch; color:var(--nvd);\n  font-size:clamp(30px,3.4vw,46px); line-height:1.25; font-weight:850;\n  letter-spacing:-.02em; text-wrap:balance}\n.crs-intro h2 span{color:var(--rd)}\n.crs-lead{max-width:62ch; color:var(--mu); font-size:17px; line-height:1.95}\n.crs-acts{display:flex; flex-wrap:wrap; gap:12px; margin-block-start:26px}\n\/* opening section can carry a photo beside its copy *\/\n.crs-intro-g{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);\n  gap:48px; align-items:center}\n.crs-figure{margin:0; border:1px solid var(--line); border-radius:22px; overflow:hidden;\n  background:#fff}\n.crs-figure img{display:block; width:100%; height:auto}\n.crs-cap{margin:12px 0 0; color:var(--mu); font-size:13.5px; line-height:1.7}\n\n\/* ---------- buttons ---------- *\/\n.crs-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px;\n  min-height:50px; padding:13px 26px; border:0; border-radius:999px; cursor:pointer;\n  font-family:inherit; font-size:14px; font-weight:800; line-height:1.5;\n  text-decoration:none !important; transition:background .2s ease, transform .2s ease}\n.crs-v1 .crs-btn-red{background:var(--rd); color:#fff}\n.crs-v1 .crs-btn-soft{background:rgba(255,255,255,.1); color:#fff;\n  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}\n.crs-v1 .crs-btn-ghost{background:#fff; color:var(--nv); box-shadow:inset 0 0 0 1px var(--line)}\n@media(hover:hover){\n  .crs-btn:hover{transform:translateY(-2px)}\n  .crs-v1 .crs-btn-red:hover{background:var(--rdd)}\n  .crs-v1 .crs-btn-soft:hover{background:rgba(255,255,255,.18)}\n  .crs-v1 .crs-btn-ghost:hover{background:var(--nv); color:#fff}\n}\n.crs-btn:focus-visible{outline:3px solid rgba(255,255,255,.5); outline-offset:2px}\n\n\/* ---------- fact tiles (At a glance) ---------- *\/\n.crs-facts{display:grid; grid-template-columns:repeat(auto-fit,minmax(258px,1fr)); gap:14px}\n\/* children come from the source markup with NO class of their own - style them directly *\/\n.crs-facts>*{padding:26px 24px; border:1px solid var(--line); border-radius:20px;\n  background:#fff; color:var(--nvd); font-size:15.5px; line-height:1.75; font-weight:600}\n.crs-fact{padding:26px 24px; border:1px solid var(--line); border-radius:20px; background:#fff}\n\/* stat tiles: a big figure over its label (scp-stats \/ scp-exam shape) *\/\n.crs-facts>* strong{display:block; color:var(--nvd); font-family:Montserrat,Cairo,sans-serif;\n  font-size:clamp(24px,2.4vw,32px); line-height:1.15; font-weight:800;\n  font-variant-numeric:tabular-nums}\n.crs-facts>* b{display:block; color:var(--nvd,#16243f); font-size:15px; line-height:1.5; font-weight:800; margin-block-end:6px}\n.crs-facts>* span{display:block; margin-block-start:6px; color:var(--mu);\n  font-size:13.5px; line-height:1.7; font-weight:500}\n.crs-fact strong{display:block; color:var(--nvd); font-family:Montserrat,Cairo,sans-serif;\n  font-size:clamp(26px,2.6vw,36px); line-height:1.1; font-weight:800;\n  font-variant-numeric:tabular-nums; direction:ltr}\n.crs-fact span{display:block; margin-block-start:8px; color:var(--mu);\n  font-size:13.5px; line-height:1.7}\n.crs-fact p{color:var(--tx); font-size:14.5px; line-height:1.85}\n\n\/* ---------- prose panel ---------- *\/\n.crs-how{padding:30px 32px; border:1px solid var(--line); border-radius:22px;\n  background:#fff; color:var(--tx); font-size:16px; line-height:1.95; max-width:78ch}\n.crs-how p{margin:0 0 14px}\n.crs-how p:last-child{margin:0}\n\n\/* ---------- cards ---------- *\/\n.crs-cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:16px}\n.crs-card{padding:28px 26px; border:1px solid var(--line); border-radius:22px; background:#fff;\n  transition:transform .25s ease, box-shadow .25s ease}\n.crs-card h3{margin:0 0 9px; color:var(--nv); font-size:19px; line-height:1.45; font-weight:800}\n.crs-card p{color:var(--mu); font-size:14.5px; line-height:1.85}\n@media(hover:hover){.crs-card:hover{transform:translateY(-5px);\n  box-shadow:0 22px 50px rgba(22,36,63,.12)}}\n\n\/* ---------- specification rows ---------- *\/\n.crs-rows{display:grid; gap:0; margin:0; border:1px solid var(--line);\n  border-radius:20px; overflow:hidden; background:#fff}\n.crs-rows>div{display:grid; grid-template-columns:minmax(150px,.42fr) 1fr; gap:18px;\n  padding:17px 22px; border-block-end:1px solid var(--line)}\n.crs-rows>div:last-child{border-block-end:0}\n.crs-rows dt{color:var(--nv); font-size:14px; font-weight:800}\n.crs-rows dd{margin:0; color:var(--tx); font-size:14.5px; line-height:1.8}\n\n\/* ---------- chips ---------- *\/\n.crs-chips{display:flex; flex-wrap:wrap; gap:9px; margin-block-start:14px}\n.crs-chips span{padding:9px 15px; border:1px solid var(--line); border-radius:999px;\n  background:#fff; color:var(--tx); font-size:13px; line-height:1.5}\n\n\/* ---------- accordion \/ FAQ (pure CSS, no JS) ---------- *\/\n.crs-faq{border:1px solid var(--line); border-radius:18px; background:#fff;\n  margin-block-end:12px; overflow:hidden}\n.crs-faq>summary{display:flex; align-items:center; justify-content:space-between; gap:16px;\n  min-height:64px; padding:16px 22px; cursor:pointer; list-style:none;\n  color:var(--nv); font-size:15px; font-weight:820; line-height:1.6}\n.crs-faq>summary::-webkit-details-marker{display:none}\n.crs-faq>summary::after{content:\"+\"; flex:none; color:var(--rd); font-size:21px;\n  font-weight:800; line-height:1; transition:transform .2s ease}\n.crs-faq[open]>summary::after{transform:rotate(45deg)}\n.crs-faq>summary:focus-visible{outline:3px solid rgba(22,36,63,.3); outline-offset:-3px}\n.crs-faq-a{padding:0 22px 20px; color:var(--tx); font-size:14.5px; line-height:1.9}\n\n\/* ---------- navy \"path\" band ---------- *\/\n.crs-path{background:var(--nv); color:#fff}\n.crs-path .crs-head h2{color:#fff}\n.crs-v1 .crs-path.crs-path .crs-head>p{color:#cbd5e1}\n.crs-v1 .crs-path.crs-path .crs-head h2{color:#fff}\n.crs-v1 .crs-path.crs-path .crs-step p{color:#c8d2e0}\n.crs-steps{display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:16px}\n.crs-step{padding:26px 24px; border-radius:20px; background:rgba(255,255,255,.06)}\n.crs-step b{display:block; margin-block-end:10px; color:var(--pk);\n  font-family:Montserrat,Cairo,sans-serif; font-size:13px; font-weight:800; letter-spacing:.06em}\n.crs-step h3{margin:0 0 8px; color:#fff; font-size:16px; line-height:1.5; font-weight:800}\n.crs-step p{color:#c8d2e0; font-size:14px; line-height:1.8}\n\n\/* ---------- commerce bits the cert pages do not have ---------- *\/\n.crs-strip{display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px;\n  padding:20px 24px; border:1px solid var(--line); border-radius:20px; background:#fff}\n.crs-strip small{color:var(--mu); font-size:13px; line-height:1.75}\n.crs-dates{padding:24px 26px; border:1px solid var(--line);\n  border-inline-start:5px solid var(--rd); border-radius:20px; background:#fff}\n.crs-dates strong{display:block; margin-block-end:8px; color:var(--nv);\n  font-size:15px; font-weight:800}\n.crs-dates p{color:var(--tx); font-size:14.5px; line-height:1.85}\n.crs-rel{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px}\n.crs-rel a{display:block; padding:20px 22px; border:1px solid var(--line); border-radius:18px;\n  background:#fff; color:var(--nv); font-size:14.5px; font-weight:700; line-height:1.7;\n  text-decoration:none; transition:transform .2s ease, box-shadow .2s ease}\n@media(hover:hover){.crs-rel a:hover{transform:translateY(-4px);\n  box-shadow:0 18px 40px rgba(22,36,63,.12)}}\n\n\/* ---------- closing CTA ---------- *\/\n.crs-cta-sec{padding-block:0 90px}\n.crs-cta{position:relative; overflow:hidden; display:grid;\n  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); gap:40px; align-items:center;\n  padding:52px 48px; border-radius:30px; color:#fff;\n  background:linear-gradient(135deg,var(--rd),var(--rdd))}\n.crs-cta h2{margin:0 0 12px; color:#fff; font-size:clamp(26px,2.7vw,38px);\n  line-height:1.3; font-weight:850; letter-spacing:-.015em; text-wrap:balance}\n.crs-v1 .crs-cta.crs-cta p{color:#ffe5e8; font-size:16px; line-height:1.9}\n.crs-v1 .crs-cta.crs-cta h2{color:#fff}\n.crs-cta-acts{display:grid; gap:12px}\n.crs-cta .crs-btn-ghost{background:#fff; color:var(--rdd); box-shadow:none}\n.crs-cta .crs-btn-soft{background:rgba(255,255,255,.14); color:#fff;\n  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}\n\n\/* ===================== tablet ===================== *\/\n@media(max-width:1024px){\n  .crs-head,.crs-cta,.crs-intro-g{grid-template-columns:1fr; gap:22px}\n  .crs-head{align-items:start}\n  .crs-cta-acts{grid-template-columns:repeat(2,minmax(0,1fr))}\n  .crs-steps{grid-template-columns:repeat(2,minmax(0,1fr))}\n}\n\/* ===================== mobile ===================== *\/\n@media(max-width:767px){\n  .crs-wrap{width:calc(100% - 32px)}\n  .crs-sec{padding-block:56px}\n  .crs-intro{padding-block:40px 48px}\n  .crs-intro h2{max-width:none}\n  .crs-lead{font-size:16px; line-height:1.9}\n  .crs-head{margin-block-end:26px}\n  .crs-head.has-lede{gap:16px}\n  .crs-acts{display:grid; grid-template-columns:1fr}\n  .crs-acts .crs-btn,.crs-cta-acts .crs-btn{width:100%}\n  .crs-facts,.crs-cards,.crs-steps,.crs-rel,.crs-cta-acts{grid-template-columns:1fr}\n  .crs-card,.crs-step{padding:23px 21px}\n  .crs-fact{padding:21px 18px}\n  .crs-fact strong{font-size:30px}\n  .crs-cta{gap:26px; padding:36px 24px; border-radius:26px}\n  .crs-cta-sec{padding-block-end:64px}\n  .crs-strip,.crs-dates{padding:20px}\n  .crs-how{padding:22px 20px; font-size:15px}\n  .crs-facts>*{padding:20px 18px; font-size:15px}\n  \/* spec rows de-stack into label-over-value so nothing is squeezed or scrolls *\/\n  .crs-rows>div{grid-template-columns:1fr; gap:6px; padding:16px 18px}\n  .crs-faq>summary{padding:14px 18px; font-size:14.5px}\n  .crs-faq-a{padding:0 18px 18px}\n}\n@media(prefers-reduced-motion:reduce){\n  .crs-btn,.crs-card,.crs-rel a{transition:none}\n  .crs-btn:hover,.crs-card:hover,.crs-rel a:hover{transform:none}\n}\n<\/style><style>\/* Sarh \u00d7 TMS schedule widget \u2014 palette matches the certification pages *\/ .sarh-next,.sarh-next *{box-sizing:border-box} .sarh-next{display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,auto); gap:22px; align-items:center; width:100%} .sarh-next-kick{display:block; color:#b5181a; font-size:12px; font-weight:800; line-height:1.5; letter-spacing:.01em; margin-bottom:4px} .sarh-next-date{display:block; color:#16243f; font-size:clamp(19px,2.2vw,25px); font-weight:850; line-height:1.25; margin-bottom:4px} .sarh-next-cohort{display:block; color:#687386; font-size:12.5px; line-height:1.6; margin-bottom:12px} .sarh-next-rows{display:grid; grid-template-columns:auto 1fr; gap:4px 12px; margin:0} .sarh-next-rows dt{color:#687386; font-size:12px; line-height:1.7; margin:0} .sarh-next-rows dd{color:#16243f; font-size:12.5px; font-weight:700; line-height:1.7; margin:0} .sarh-next-more{margin:10px 0 0; color:#687386; font-size:11.5px; line-height:1.6} .sarh-next-side{display:grid; gap:8px; justify-items:stretch; text-align:center} .sarh-next-price{color:#16243f; font-size:13px; line-height:1.7} .sarh-next-price b{font-family:Montserrat,Cairo,sans-serif; font-size:21px; color:#b5181a} .sarh-next-price s{color:#98a2b3; margin-inline-start:6px; font-size:12.5px} .sarh-next-price i{display:block; color:#687386; font-size:11px; font-style:normal; margin-top:2px} .sarh-next-btn{display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 22px; border-radius:999px; background:#b5181a; color:#fff !important; font-size:13.5px; font-weight:800; text-decoration:none !important; transition:background .2s ease, transform .2s ease} .sarh-next-btn:hover{background:#8f1214; transform:translateY(-1px)} .sarh-next-all{appearance:none; border:1px solid #dfe4ea; border-radius:999px; background:#fff; color:#16243f; padding:9px 18px; font-size:12px; font-weight:750; cursor:pointer; font-family:inherit; transition:border-color .2s ease, color .2s ease} .sarh-next-all:hover{border-color:#b5181a; color:#b5181a} @media(max-width:767px){.sarh-next{grid-template-columns:1fr; gap:16px}.sarh-next-side{justify-items:stretch}} \/* ---------------- modal ---------------- *\/ .sarh-modal{position:fixed; inset:0; z-index:99999; display:none} .sarh-modal.is-open{display:block} .sarh-modal-back{position:absolute; inset:0; background:rgba(10,19,37,.55); backdrop-filter:blur(2px)} .sarh-modal-card{position:relative; z-index:1; width:min(980px,calc(100% - 32px)); max-height:86vh; margin:7vh auto 0; display:flex; flex-direction:column; overflow:hidden; border-radius:26px; background:#fff; box-shadow:0 40px 100px rgba(10,19,37,.4)} .sarh-modal-top{display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:24px 26px; border-bottom:1px solid #dfe4ea; background:#f7f6f3} .sarh-modal-top h2{margin:0 0 4px; color:#101827; font-size:clamp(20px,2.4vw,27px); line-height:1.25; font-weight:850} .sarh-modal-top p{margin:0; color:#687386; font-size:12.5px; line-height:1.7} .sarh-modal-x{appearance:none; border:0; background:#fff; border:1px solid #dfe4ea; border-radius:50%; width:36px; height:36px; flex:none; font-size:22px; line-height:1; color:#16243f; cursor:pointer} .sarh-modal-x:hover{border-color:#b5181a; color:#b5181a} .sarh-modal-body{padding:8px 26px 26px; overflow-y:auto} .sarh-modal-msg{margin:26px 0; color:#687386; font-size:14px; text-align:center} .sarh-mon{margin-top:22px} .sarh-mon h3{position:sticky; top:0; margin:0 0 12px; padding:10px 0; background:#fff; color:#b5181a; font-size:13px; font-weight:850; letter-spacing:.02em} .sarh-mon-list{display:grid; gap:10px} .sarh-row{display:grid; grid-template-columns:minmax(0,1fr) minmax(170px,auto); gap:18px; align-items:center; padding:16px 18px; border:1px solid #dfe4ea; border-radius:16px; background:#fff; transition:border-color .2s ease, box-shadow .2s ease} .sarh-row:hover{border-color:#c9d2dd; box-shadow:0 10px 26px rgba(22,36,63,.07)} .sarh-row-main strong{display:block; color:#16243f; font-size:15px; line-height:1.45} .sarh-row-cohort{display:inline-block; margin-top:4px; padding:3px 9px; border-radius:999px; background:#eef3f7; color:#16243f; font-size:11px; font-weight:750} .sarh-row-date{display:block; margin-top:6px; color:#3f4a5d; font-size:12.5px; font-weight:700; line-height:1.6} .sarh-row-meta{display:block; margin-top:3px; color:#687386; font-size:11.5px; line-height:1.6} .sarh-row-side{display:grid; gap:6px; justify-items:stretch; text-align:center} .sarh-row-price{color:#16243f; font-size:12px; line-height:1.6} .sarh-row-price b{font-family:Montserrat,Cairo,sans-serif; font-size:17px; color:#b5181a} .sarh-row-price s{color:#98a2b3; margin-inline-start:5px; font-size:11.5px} .sarh-row-price i{display:block; color:#687386; font-size:10.5px; font-style:normal} .sarh-row-btn{display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:8px 18px; border-radius:999px; background:#b5181a; color:#fff !important; font-size:12.5px; font-weight:800; text-decoration:none !important} .sarh-row-btn:hover{background:#8f1214} .sarh-row-link{color:#687386 !important; font-size:11px; text-decoration:none !important} .sarh-row-link:hover{color:#b5181a !important} @media(max-width:767px){.sarh-modal-card{width:calc(100% - 20px); margin:4vh auto 0; max-height:92vh; border-radius:20px}.sarh-modal-top{padding:18px}.sarh-modal-body{padding:6px 18px 20px}.sarh-row{grid-template-columns:1fr; gap:12px}.sarh-row-side{justify-items:stretch}} @media(prefers-reduced-motion:reduce){.sarh-next-btn,.sarh-row{transition:none}} .scp-root [data-sarh-next]{margin:18px 0}.scp-root .sarh-next-btn{background:#b5181a;color:#fff;border-radius:999px;padding:12px 22px;font-weight:800;text-decoration:none;display:block;text-align:center}.scp-root .sarh-next-btn:hover{background:#8f1214;color:#fff}.scp-root .sarh-next-all{background:transparent;color:#16243f;border:1.5px solid #cfd6e2;border-radius:999px;padding:11px 22px;font-weight:800;cursor:pointer;display:block;width:100%} .bottom-cta-container .single_add_to_cart_button,.cta-unified-stack-wrapper .single_add_to_cart_button{background:#b5181a!important;color:#fff!important;border-color:#b5181a!important}.bottom-cta-container .single_add_to_cart_button:hover,.cta-unified-stack-wrapper .single_add_to_cart_button:hover{background:#8f1214!important;color:#fff!important}.woocommerce-Reviews .woocommerce-noreviews,#reviews .woocommerce-noreviews,p.woocommerce-noreviews{display:none!important} html body .summary.entry-summary form.cart table.variations th.label,html body .summary.entry-summary form.cart table.variations td.value,html body .entry-summary form.cart table.variations th.label,html body .entry-summary form.cart table.variations td.value{text-align:left!important;direction:ltr!important}html body .summary.entry-summary form.cart table.variations td.value select,html body .entry-summary form.cart table.variations td.value select,html body .woocommerce div.product form.cart .variations select{text-align:left!important;direction:ltr!important;text-align-last:left!important}html body .summary.entry-summary form.cart table.variations th.label label,html body .entry-summary form.cart table.variations th.label label{font-family:Montserrat,Cairo,system-ui,sans-serif!important;text-align:left!important;direction:ltr!important}html body .single-product-payments-custom-01 .payment-custom-img,html body img.payment-custom-img{border-radius:0!important;object-fit:contain!important;width:auto!important;max-width:58px!important;height:22px!important} \/* sarh-product-rich-v1 rich *\/ .scp-faq{display:grid;gap:10px}.scp-qa{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.scp-qa summary{padding:15px 18px;cursor:pointer;font-weight:800;color:var(--nv,#16243f);list-style:none;position:relative;font-size:14.5px;line-height:1.7}.scp-qa summary::-webkit-details-marker{display:none}.scp-qa summary::after{content:\"+\";position:absolute;inset-inline-end:16px;top:12px;font-size:20px;font-weight:800;color:#b5181a}.scp-qa[open] summary::after{content:\"\\2212\"}.scp-qa p{margin:0;padding:0 18px 16px;color:var(--mu,#5a6577);font-size:14px;line-height:1.9}.scp-rel{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.scp-rel a{display:block;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;transition:border-color .15s,box-shadow .15s}.scp-rel a:hover{border-color:#b5181a;box-shadow:0 6px 18px rgba(16,22,38,.07)}.scp-rel b{display:block;color:var(--nv,#16243f);font-size:14px;line-height:1.6;margin-bottom:4px}.scp-rel span{display:block;color:var(--mu,#5a6577);font-size:12.5px;line-height:1.6}.scp-eb{font-size:12px}.scp-cap{font-size:12px}<\/style>\n<!-- sarh-crs-design-v1 -->\n<div class=\"crs-v1\">\n<section class=\"crs-sec crs-intro\"><div class=\"crs-wrap\">\n<span class=\"crs-kick\">AI for Business<\/span>\n<h2>From understanding AI to using it in your everyday work<\/h2>\n<p class=\"crs-lead\">This course is a practical introduction to AI for staff and managers: how it works, why it gets things wrong, and how to use it effectively and responsibly in day-to-day work. It then moves from understanding to doing, through projects that start from ready-made templates.<\/p>\n<div class=\"crs-acts\"><a class=\"crs-btn crs-btn-red\" href=\"#\" data-sarh-schedule=\"\u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a \u0641\u064a \u0627\u0644\u0623\u0639\u0645\u0627\u0644|AI for Business\" data-scp-cart>See the available cohort<\/a><a class=\"crs-btn crs-btn-ghost\" href=\"https:\/\/sarhgroups.com\/en\/contact-us-2\">Talk to a programme adviser<\/a><\/div>\n<\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Programme essentials<\/h2><\/div><div class=\"crs-facts\">\n<div>Hands-on and project-based<\/div>\n<div>No previous coding experience needed<\/div>\n<div>Prepares you for the Certified AI for Business Professional (CAIBP) exam from Corporate Business Alliance<\/div>\n<div>Tools: Claude Code, ElevenLabs, Higgsfield, Supabase and Vercel<\/div>\n<div>In person in the computer lab in Amman, or online via live stream<\/div>\n<div>Language of instruction: Arabic and English<\/div>\n<\/div>\n<p class=\"crs-cap\">The tool names on this page are trademarks of their owners. They are named only to show what the training uses, and this does not imply any link between Sarh and their owners.<\/p>\n<\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-dates\" data-sarh-next=\"\/products\/ai-for-business-course\" data-sarh-price=\"off\"><strong>Next cohort<\/strong>\n<p>AI for Business 1 starts on Saturday 9 January 2027 and ends on Saturday 20 February 2027. It meets on Saturdays from 10:00am to 1:30pm, in person at Sarh&#8217;s premises in Amman and online via live stream. <a href=\"https:\/\/tms.sarhint.com\/register?c=1495\" target=\"_blank\" rel=\"noopener\">Register for this cohort<\/a>.<\/p>\n<\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-strip\">\n<div><small>The course fee covers training in every module with hands-on practice in each, attendance in person or online, and the lesson recordings on the Sarh Online platform. It does not include a subscription or licence for any AI tool. The CAIBP exam fee is separate from the course fee; the <a href=\"https:\/\/sarhgroups.com\/en\/products\/caibp-exam-fees\">CAIBP exam fees page<\/a> sets out the fee and the ways to pay it.<\/small><\/div>\n<p><a class=\"crs-btn crs-btn-red\" href=\"#\" data-sarh-buy data-scp-cart>Enrol now<\/a><\/p>\n<\/div><\/div><\/section>\n<section class=\"crs-sec is-soft\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Who this programme serves<\/h2><p style=\"margin-block-start:12px;max-width:75ch\">Practical training for staff and managers in any sector, built around everyday work such as reports, policies, presentations and content.<\/p><\/div><div class=\"crs-cards\">\n<div class=\"crs-card\"><p>HR and finance staff and their managers<\/p><\/div>\n<div class=\"crs-card\"><p>Marketing and operations staff and their managers<\/p><\/div>\n<div class=\"crs-card\"><p>Staff and managers in other departments and sectors<\/p><\/div>\n<div class=\"crs-card\"><p>Anyone who wants to use AI in their day-to-day work<\/p><\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>What you will learn<\/h2><\/div><div class=\"crs-cards\">\n<div>How AI works, why it makes mistakes, and how to use it effectively and responsibly at work.<\/div>\n<div>How to prepare documents and presentations, and produce images and short videos.<\/div>\n<div>How to build a knowledge assistant that answers from set documents and cites them, and publish a small website.<\/div>\n<div>How to automate and schedule recurring work tasks, with access rights set deliberately.<\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec is-mist\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>The syllabus in full<\/h2><\/div><details class=\"crs-faq\" open>\n<summary><b>1<\/b>AI foundations and how it works<i>5 topics<\/i><\/summary>\n<div class=\"crs-chips\"><span>How AI began and developed<\/span><span>Machine learning, neural networks and large language models (LLMs)<\/span><span>Tokens, parameters and context, and how an answer is formed<\/span><span>The hardware that models run on, and the limits of AI<\/span><span>Short experiments that explain how AI behaves and where it goes wrong<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>2<\/b>Working effectively with AI<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\"><span>Writing prompts, and giving the tool context, examples and files<\/span><span>Using tools, and improving results through iteration<\/span><span>Privacy, and checking that results are correct<\/span><span>Practice on everyday tasks: improving weak answers and verifying them<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>3<\/b>Documents and professional materials<i>3 topics<\/i><\/summary>\n<div class=\"crs-chips\"><span>Preparing research, reports, proposals, policies, work guides and presentations<\/span><span>Sources, structure and consistent content<\/span><span>An approach to preparing long work guides<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>4<\/b>AI media generation<i>2 topics<\/i><\/summary>\n<div class=\"crs-chips\"><span>Images, voice-over and short videos with ElevenLabs and Higgsfield<\/span><span>Brand consistency and usage rights<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>5<\/b>Build a RAG knowledge assistant<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\"><span>Cleaning source documents with Claude Code<\/span><span>Splitting documents into chunks, and creating embeddings (vectors)<\/span><span>Retrieving the relevant information from the sources, and running the indexing<\/span><span>Testing retrieval and citations, and how the assistant behaves when it finds no answer<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>6<\/b>Build and deploy a small website<i>3 topics<\/i><\/summary>\n<div class=\"crs-chips\"><span>Customising a ready-made website template with Claude Code<\/span><span>Connecting the knowledge assistant to the site, and testing it<\/span><span>Publishing on Vercel, and checking the live link and basic access controls<\/span><\/div>\n<\/details>\n<details class=\"crs-faq\">\n<summary><b>7<\/b>Scheduled agents and routines<i>4 topics<\/i><\/summary>\n<div class=\"crs-chips\"><span>Automating recurring tasks with Claude Code<\/span><span>Access rights to data and tools<\/span><span>Daily or monthly scheduling, and running in the cloud versus running locally<\/span><span>Testing a task with an immediate run, reviewing the log, and pausing it<\/span><\/div>\n<\/details><\/div><\/section>\n<section class=\"crs-sec crs-path\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>What you will build<\/h2><p style=\"margin-block-start:12px;max-width:75ch\">You leave the course with work you have produced yourself, each piece reviewed and tested.<\/p><\/div><div class=\"crs-steps\">\n<div class=\"crs-step\"><b>01<\/b><h3>A document and a presentation<\/h3><p>A reviewed work document and a short presentation.<\/p><\/div>\n<div class=\"crs-step\"><b>02<\/b><h3>A design and a video<\/h3><p>A visual design for a business, and a short promotional or explainer video with an AI-generated voice-over and on-screen text.<\/p><\/div>\n<div class=\"crs-step\"><b>03<\/b><h3>A knowledge assistant<\/h3><p>An assistant running on Supabase that answers from set documents, cites its sources, and is tested for how it behaves when it cannot find the answer.<\/p><\/div>\n<div class=\"crs-step\"><b>04<\/b><h3>A published website<\/h3><p>A small business website published on Vercel, with the knowledge assistant and a simple form.<\/p><\/div>\n<div class=\"crs-step\"><b>05<\/b><h3>A scheduled task<\/h3><p>A daily briefing or a draft monthly report prepared automatically, with limited access rights.<\/p><\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>How the programme runs<\/h2><\/div><div class=\"crs-how\">Every module combines the ideas with hands-on practice, and the projects start from ready-made templates, so you apply what you learn straight away to everyday work tasks. You attend in person in the computer lab at Sarh&#8217;s premises in Jabal Al-Hussein, Amman, or online via live stream, and you can watch the lesson recordings on the Sarh Online platform.<\/div><\/div><\/section>\n<section class=\"crs-sec is-soft\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Scheduling and enrolment<\/h2><\/div><dl class=\"crs-rows\"><div><dt>Lecture times<\/dt><dd>According to the schedule of the cohort you choose<\/dd><\/div><div><dt>Attendance option and location<\/dt><dd>In person in the computer lab at Sarh&#8217;s premises in Jabal Al-Hussein, Amman \u00b7 or online via live stream<\/dd><\/div><div><dt>Lesson recordings<\/dt><dd>Available to watch on the Sarh Online platform<\/dd><\/div><div><dt>Language of instruction<\/dt><dd>Arabic and English<\/dd><\/div><div><dt>Experience and skills<\/dt><dd>No previous coding experience is needed; basic computer skills are enough<\/dd><\/div><div><dt>Accounts and tools<\/dt><dd>The projects need your own active, verified accounts on the tools used, access to their programming interfaces (APIs), and your own credits for generating media<\/dd><\/div><div><dt>What the fee covers<\/dt><dd>Training in every module with hands-on practice in each, attendance in person or online, and the lesson recordings on the Sarh Online platform. It does not cover the CAIBP exam fee or a subscription or licence for any AI tool.<\/dd><\/div><\/dl><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Exam information<\/h2><p style=\"margin-block-start:12px;max-width:75ch\">The course prepares you for the Certified AI for Business Professional (CAIBP) exam from Corporate Business Alliance (CBA), UK. The exam fee is separate from the course fee and is paid to Sarh.<\/p><\/div><div class=\"crs-facts\">\n<div><strong>CAIBP<\/strong><span>Certified AI for Business Professional<\/span><\/div>\n<div><strong>60 questions<\/strong><span>Multiple choice, 90 minutes, pass mark 60%<\/span><\/div>\n<div><strong>220 JOD<\/strong><span>Exam fee paid online by card, or 200 JOD by CliQ transfer or at Sarh&#8217;s office<\/span><\/div>\n<div><b>Corporate Business Alliance<\/b><span>The awarding body. <a href=\"https:\/\/sarhgroups.com\/en\/products\/caibp-exam-fees\">CAIBP exam fees page<\/a><\/span><\/div>\n<\/div><dl class=\"crs-rows\" style=\"margin-block-start:14px\"><div><dt>How you sit it<\/dt><dd>Online, proctored by a third-party proctoring service, from anywhere, at a time you choose<\/dd><\/div><div><dt>What the exam fee covers<\/dt><dd>The exam voucher and CBA&#8217;s study material<\/dd><\/div><div><dt>The voucher<\/dt><dd>One attempt per voucher; the voucher is valid for 12 months from issue. A re-sit needs a new voucher: contact us<\/dd><\/div><div><dt>Getting the certificate<\/dt><dd>Awarded on passing the exam<\/dd><\/div><div><dt>Certificate validity<\/dt><dd>Three years, renewed with 60 hours of evidenced continuing professional development (CPD)<\/dd><\/div><\/dl><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>What sets the programme apart<\/h2><\/div><div class=\"crs-cards\">\n<div class=\"crs-card\"><p>Learning by doing: every module is built around practical work, so you apply what you learn straight away.<\/p><\/div>\n<div class=\"crs-card\"><p>Responsible, reliable use: you practise checking results, protecting privacy, respecting usage rights and brand identity, and setting access rights, all within the practical work.<\/p><\/div>\n<div class=\"crs-card\"><p>For every department: HR, finance, marketing, operations and more. The practical work centres on everyday tasks such as reports, policies, presentations and content.<\/p><\/div>\n<div class=\"crs-card\"><p>Attend the way that suits you: in person in the computer lab in Amman or online via live stream, with the lesson recordings on the Sarh Online platform.<\/p><\/div>\n<\/div><\/div><\/section>\n<section class=\"crs-sec is-soft\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>What people ask before they enrol<\/h2><\/div><div class=\"crs-faq-list\"><details class=\"crs-faq\"><summary>Who is this course for, and do I need coding experience?<\/summary><p class=\"crs-faq-a\">It is for staff and managers in HR, finance, marketing, operations and other departments, and for anyone who wants to use AI in their day-to-day work. No previous coding experience is needed; basic computer skills are enough.<\/p><\/details><details class=\"crs-faq\"><summary>What will I produce during the course?<\/summary><p class=\"crs-faq-a\">You leave with five pieces of work you have produced yourself: a work document and a short presentation; a visual design and a short video with an AI-generated voice-over; a knowledge assistant on Supabase that answers from set documents and cites its sources; a small website published on Vercel that includes the assistant; and a scheduled task that prepares a daily briefing or a draft monthly report. The projects start from ready-made templates.<\/p><\/details><details class=\"crs-faq\"><summary>Which tools does the course use, and what do I need for them?<\/summary><p class=\"crs-faq-a\">The projects use Claude Code, ElevenLabs, Higgsfield, Supabase and Vercel. They need your own active, verified accounts on these tools, access to their programming interfaces (APIs), and your own credits for generating media. The course fee does not include a subscription or licence for any AI tool.<\/p><\/details><details class=\"crs-faq\"><summary>How can I attend?<\/summary><p class=\"crs-faq-a\">In person in the computer lab at Sarh&#8217;s premises in Jabal Al-Hussein, Amman, or online via live stream, following the schedule of the cohort you choose. You can watch the lesson recordings on the Sarh Online platform. When you enrol on this page, you choose Online or In-Person. The course is taught in Arabic and English.<\/p><\/details><details class=\"crs-faq\"><summary>What does the course fee cover?<\/summary><p class=\"crs-faq-a\">The fee covers training in every module with hands-on practice in each, attendance in person in the computer lab at Sarh&#8217;s premises or online via live stream, and the lesson recordings on the Sarh Online platform. It does not cover a subscription or licence for any AI tool, or the CAIBP exam fee, which is separate from the course fee.<\/p><\/details><details class=\"crs-faq\"><summary>Which certificate does the course prepare me for, and who awards it?<\/summary><p class=\"crs-faq-a\">The course prepares you for the Certified AI for Business Professional (CAIBP) exam from Corporate Business Alliance (CBA), UK. The certificate is awarded on passing the exam. It is valid for three years and is renewed with 60 hours of evidenced continuing professional development (CPD).<\/p><\/details><details class=\"crs-faq\"><summary>What is the CAIBP exam like, and how do I sit it?<\/summary><p class=\"crs-faq-a\">The exam has 60 multiple-choice questions, lasts 90 minutes and has a pass mark of 60%. You sit it online, proctored by a third-party proctoring service, from anywhere, at a time you choose. Each voucher gives one attempt and is valid for 12 months from issue; a re-sit needs a new voucher, so contact us.<\/p><\/details><details class=\"crs-faq\"><summary>How much is the CAIBP exam, and how do I pay?<\/summary><p class=\"crs-faq-a\">The exam fee is separate from the course fee and is paid to Sarh: 220 JOD online by card on the <a href=\"https:\/\/sarhgroups.com\/en\/products\/caibp-exam-fees\">CAIBP exam fees page<\/a>, or 200 JOD by CliQ transfer or at Sarh&#8217;s office. It covers the exam voucher and CBA&#8217;s study material. To pay by CliQ or at the office, contact us on WhatsApp at <a href=\"https:\/\/wa.me\/962778150841\" target=\"_blank\" rel=\"noopener\" dir=\"ltr\">+962 77 815 0841<\/a>. Once your order is complete, we contact you to send your exam voucher.<\/p><\/details><details class=\"crs-faq\"><summary>How do I enrol in the next cohort?<\/summary><p class=\"crs-faq-a\">Select \u2018See the available cohort\u2019 for the next start date, days and times, and register there. Or select \u2018Enrol now\u2019, choose how you will attend, then pay online. For any question, talk to a programme adviser.<\/p><\/details><\/div><\/div><\/section>\n<section class=\"crs-sec\"><div class=\"crs-wrap\"><div class=\"crs-head\"><h2>Pairs well with this<\/h2><\/div><div class=\"crs-rel\"><a href=\"https:\/\/sarhgroups.com\/en\/products\/caibp-exam-fees\"><b>CAIBP Exam fees<\/b><br><span>The fee for the CAIBP exam, separate from the course fee.<\/span><\/a><a href=\"https:\/\/sarhgroups.com\/en\/ai-for-business\"><b>AI for Business<\/b><br><span>The modules, the exam and the next cohort on one page.<\/span><\/a><\/div><\/div><\/section>\n<section class=\"crs-sec crs-cta-sec\"><div class=\"crs-wrap\"><div class=\"crs-cta\"><div><h2>Ready to start?<\/h2><p>Choose the way of attending that suits you, or get in touch and we will help you pick a cohort.<\/p><\/div><div class=\"crs-cta-acts\"><a class=\"crs-btn crs-btn-ghost\" href=\"#\" data-sarh-schedule=\"\u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a \u0641\u064a \u0627\u0644\u0623\u0639\u0645\u0627\u0644|AI for Business\" data-scp-cart>See the available cohort<\/a><a class=\"crs-btn crs-btn-soft\" href=\"https:\/\/sarhgroups.com\/en\/contact-us-2\">Talk to a programme adviser<\/a><\/div><\/div><\/div><\/section>\n<\/div>\n<script>(function(){try{var d=atob(\"LyogU2FyaCDDlyBUTVMgc2NoZWR1bGUgd2lkZ2V0LgogICBSZWFkcyB0aGUgbGl2ZSBmZWVkIGF0IHRtcy5zYXJoaW50LmNvbSBhbmQgZmlsbHMgaW4gdHdvIHRoaW5nczoKICAgICBbZGF0YS1zYXJoLW5leHQ9Ijxwcm9kdWN0IHBhdGg+Il0gIC0+IHRoZSBuZXh0IG9wZW4gY29ob3J0IGZvciB0aGF0IGNvdXJzZQogICAgIFtkYXRhLXNhcmgtc2NoZWR1bGVdICAgICAgICAgICAgICAgLT4gYSBidXR0b24gdGhhdCBvcGVucyB0aGUgZnVsbCBzY2hlZHVsZQogICBQcm9ncmVzc2l2ZSBlbmhhbmNlbWVudDogaWYgdGhlIGZlZWQgaXMgdW5yZWFjaGFibGUgb3IgZW1wdHksIHdoYXRldmVyIG1hcmt1cAogICBpcyBhbHJlYWR5IGluc2lkZSB0aGUgZWxlbWVudCBpcyBsZWZ0IGV4YWN0bHkgYXMgaXQgaXMuICovCihmdW5jdGlvbiAoKSB7CiAgaWYgKHdpbmRvdy5fX3N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7CiAgICAgIGlmIChmaWx0ZXIpIHsKICAgICAgICB2YXIgdGVybXMgPSBTdHJpbmcoZmlsdGVyKS5zcGxpdCgifCIpLm1hcChmdW5jdGlvbiAodCkgeyByZXR1cm4gdC50cmltKCk7IH0pLmZpbHRlcihCb29sZWFuKTsKICAgICAgICByb3dzID0gcm93cy5maWx0ZXIoZnVuY3Rpb24gKGMpIHsKICAgICAgICAgIHZhciBoYXkgPSAoYy5jb3Vyc2VfYXIgfHwgIiIpICsgIiAiICsgKGMuY291cnNlX2VuIHx8ICIiKSArICIgIiArIChjLmNvaG9ydCB8fCAiIik7CiAgICAgICAgICByZXR1cm4gdGVybXMuc29tZShmdW5jdGlvbiAodCkgeyByZXR1cm4gaGF5LmluZGV4T2YodCkgIT09IC0xOyB9KTsKICAgICAgICB9KTsKICAgICAgfQogICAgICBpZiAoIXJvd3MubGVuZ3RoKSByZXR1cm47CiAgICAgIGh0bWwgKz0gJzxzZWN0aW9uIGNsYXNzPSJzYXJoLW1vbiI+PGgzPicgKyBlc2MobS5sYWJlbCB8fCBtLmtleSkgKyAnPC9oMz48ZGl2IGNsYXNzPSJzYXJoLW1vbi1saXN0Ij4nOwogICAgICByb3dzLmZvckVhY2goZnVuY3Rpb24gKGMpIHsKICAgICAgICB2YXIgbWV0YSA9IFtmbXREYXlzKGMuZGF5cyksCiAgICAgICAgICAgICAgICAgICAgYy5zdGFydF90aW1lID8gZm10VGltZShjLnN0YXJ0X3RpbWUpICsgIiDigJMgIiArIGZtdFRpbWUoYy5lbmRfdGltZSkgOiAiIiwKICAgICAgICAgICAgICAgICAgICBmbXRNb2RlKGMuZGVsaXZlcnlfbW9kZSldLmZpbHRlcihCb29sZWFuKS5qb2luKCIgwrcgIik7CiAgICAgICAgaHRtbCArPQogICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93Ij4nICsKICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LW1haW4iPicgKwogICAgICAgICAgICAgICc8c3Ryb25nPicgKyBlc2MoY291cnNlTmFtZShjKSkgKyAnPC9zdHJvbmc+JyArCiAgICAgICAgICAgICAgKGMuY29ob3J0ID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1jb2hvcnQiPicgKyBlc2MoYy5jb2hvcnQpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgICAnPHNwYW4gY2xhc3M9InNhcmgtcm93LWRhdGUiPicgKyBlc2MoZm10RGF0ZShjLnN0YXJ0X2RhdGUpKSArCiAgICAgICAgICAgICAgICAoYy5lbmRfZGF0ZSA\/ICIg4oCUICIgKyBlc2MoZm10RGF0ZShjLmVuZF9kYXRlKSkgOiAiIikgKyAiPC9zcGFuPiIgKwogICAgICAgICAgICAgIChtZXRhID8gJzxzcGFuIGNsYXNzPSJzYXJoLXJvdy1tZXRhIj4nICsgZXNjKG1ldGEpICsgIjwvc3Bhbj4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIgKwogICAgICAgICAgICAnPGRpdiBjbGFzcz0ic2FyaC1yb3ctc2lkZSI+JyArCiAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNhcmgtcm93LXByaWNlIj4nICsgZm10UHJpY2UoYykgKyAiPC9kaXY+IiArCiAgICAgICAgICAgICAgJzxhIGNsYXNzPSJzYXJoLXJvdy1idG4iIGhyZWY9IicgKyBlc2MocmVnVXJsKGMpKSArICciIHJlbD0ibm9vcGVuZXIiPicgKyBULnJlZyArICI8L2E+IiArCiAgICAgICAgICAgICAgKGMuZGV0YWlsc191cmwgPyAnPGEgY2xhc3M9InNhcmgtcm93LWxpbmsiIGhyZWY9IicgKyBlc2MoYy5kZXRhaWxzX3VybCkgKyAnIj4nICsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChBUiA\/ICLYqtmB2KfYtdmK2YQg2KfZhNiv2YjYsdipIiA6ICJDb3Vyc2UgZGV0YWlscyIpICsgIjwvYT4iIDogIiIpICsKICAgICAgICAgICAgIjwvZGl2PiIg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0aCkgcmV0dXJuOwogICAgbG9hZCgpLnRoZW4oZnVuY3Rpb24gKGQpIHsKICAgICAgQXJyYXkucHJvdG90eXBlLmZvckVhY2guY2FsbChuZXh0cywgZnVuY3Rpb24gKGVsKSB7CiAgICAgICAgdHJ5IHsgZmlsbE5leHQoZWwsIGQpOyB9IGNhdGNoIChlKSB7fQogICAgICB9KTsKICAgIH0pLmNhdGNoKGZ1bmN0aW9uICgpIHsgLyogc3RhdGljIGZhbGxiYWNrIHN0YXlzICovIH0pOwogIH0KICBpZiAoZG9jdW1lbnQucmVhZHlTdGF0ZSA9PT0gImxvYWRpbmciKSBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIiwgYm9vdCk7CiAgZWxzZSBib290KCk7Cn0pKCk7Cg==\"),n=d.length,u=new Uint8Array(n),i=n;while(i--){u[i]=d.charCodeAt(i);}new Function(new TextDecoder(\"utf-8\").decode(u))();}catch(e){}})();<\/script><script>(function(){if(window.__sarhBuy){return;}window.__sarhBuy=1;document.addEventListener(\"click\",function(e){var a=e.target.closest?e.target.closest(\"[data-sarh-buy]\"):null;if(!a){return;}var f=document.querySelector(\"form.variations_form\")||document.querySelector(\"form.cart\");if(!f){return;}e.preventDefault();f.scrollIntoView({behavior:\"smooth\",block:\"center\"});var s=f.querySelector(\"select\");if(s){setTimeout(function(){try{s.focus();}catch(x){}},450);}});}());<\/script>\n<!-- sarh-schema-v2 --><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/ai-for-business-course-en#faq\",\"inLanguage\":\"en\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Who is this course for, and do I need coding experience?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It is for staff and managers in HR, finance, marketing, operations and other departments, and for anyone who wants to use AI in their day-to-day work. No previous coding experience is needed; basic computer skills are enough.\"}},{\"@type\":\"Question\",\"name\":\"What will I produce during the course?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You leave with five pieces of work you have produced yourself: a work document and a short presentation; a visual design and a short video with an AI-generated voice-over; a knowledge assistant on Supabase that answers from set documents and cites its sources; a small website published on Vercel that includes the assistant; and a scheduled task that prepares a daily briefing or a draft monthly report. The projects start from ready-made templates.\"}},{\"@type\":\"Question\",\"name\":\"Which tools does the course use, and what do I need for them?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The projects use Claude Code, ElevenLabs, Higgsfield, Supabase and Vercel. They need your own active, verified accounts on these tools, access to their programming interfaces (APIs), and your own credits for generating media. The course fee does not include a subscription or licence for any AI tool.\"}},{\"@type\":\"Question\",\"name\":\"How can I attend?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"In person in the computer lab at Sarh's premises in Jabal Al-Hussein, Amman, or online via live stream, following the schedule of the cohort you choose. You can watch the lesson recordings on the Sarh Online platform. When you enrol on this page, you choose Online or In-Person. The course is taught in Arabic and English.\"}},{\"@type\":\"Question\",\"name\":\"What does the course fee cover?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The fee covers training in every module with hands-on practice in each, attendance in person in the computer lab at Sarh's premises or online via live stream, and the lesson recordings on the Sarh Online platform. It does not cover a subscription or licence for any AI tool, or the CAIBP exam fee, which is separate from the course fee.\"}},{\"@type\":\"Question\",\"name\":\"Which certificate does the course prepare me for, and who awards it?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The course prepares you for the Certified AI for Business Professional (CAIBP) exam from Corporate Business Alliance (CBA), UK. The certificate is awarded on passing the exam. It is valid for three years and is renewed with 60 hours of evidenced continuing professional development (CPD).\"}},{\"@type\":\"Question\",\"name\":\"What is the CAIBP exam like, and how do I sit it?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The exam has 60 multiple-choice questions, lasts 90 minutes and has a pass mark of 60%. You sit it online, proctored by a third-party proctoring service, from anywhere, at a time you choose. Each voucher gives one attempt and is valid for 12 months from issue; a re-sit needs a new voucher, so contact us.\"}},{\"@type\":\"Question\",\"name\":\"How much is the CAIBP exam, and how do I pay?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"The exam fee is separate from the course fee and is paid to Sarh: 220 JOD online by card on the CAIBP exam fees page, or 200 JOD by CliQ transfer or at Sarh's office. It covers the exam voucher and CBA's study material. To pay by CliQ or at the office, contact us on WhatsApp at +962 77 815 0841. Once your order is complete, we contact you to send your exam voucher.\"}},{\"@type\":\"Question\",\"name\":\"How do I enrol in the next cohort?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Select \u2018See the available cohort\u2019 for the next start date, days and times, and register there. Or select \u2018Enrol now\u2019, choose how you will attend, then pay online. For any question, talk to a programme adviser.\"}}]}<\/script><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/ai-for-business-course-en#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sarhgroups.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Training Courses\",\"item\":\"https:\/\/sarhgroups.com\/en\/training-courses\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AI for Business (CAIBP) Course\",\"item\":\"https:\/\/sarhgroups.com\/en\/products\/ai-for-business-course-en\"}]}<\/script><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"Course\",\"@id\":\"https:\/\/sarhgroups.com\/en\/products\/ai-for-business-course-en#course\",\"name\":\"AI for Business (CAIBP) Course\",\"description\":\"Hands-on training for staff and managers in any sector, with no coding experience needed. It prepares you for the Certified AI for Business Professional (CAIBP) exam from Corporate Business Alliance. You learn how AI works, then use it to prepare documents and visual content, build a knowledge assistant and a small website, and automate routine work tasks. Attend in person at Sarh's premises in Amman or online via live stream; the course is taught in Arabic and English.\",\"url\":\"https:\/\/sarhgroups.com\/en\/products\/ai-for-business-course-en\",\"inLanguage\":[\"ar\",\"en\"],\"provider\":{\"@type\":\"Organization\",\"@id\":\"https:\/\/sarhgroups.com\/#organization\"}}<\/script>","protected":false},"excerpt":{"rendered":"<p>Hands-on training for staff and managers in any sector, with no coding experience needed. It prepares you for the Certified AI for Business Professional (CAIBP) exam from Corporate Business Alliance. You learn how AI works, then use it to prepare documents and visual content, build a knowledge assistant and a small website, and automate routine work tasks. Attend in person at Sarh&#8217;s premises in Amman or online via live stream; the course is taught in Arabic and English.<\/p>\n","protected":false},"featured_media":59230,"comment_status":"open","ping_status":"closed","template":"","meta":{"_kb_optimizer_status":0,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":""},"product_brand":[],"product_cat":[65],"product_tag":[],"class_list":["post-59236","product","type-product","status-publish","has-post-thumbnail","product_cat-training-courses","first","instock","sale","shipping-taxable","purchasable","product-type-variable","has-default-attributes","entry","content-bg","loop-entry"],"taxonomy_info":{"product_cat":[{"value":65,"label":"Training Courses"}]},"featured_image_src_large":["https:\/\/sarhgroups.com\/wp-content\/uploads\/2026\/12\/sarh-ai-for-business-course-2026-en.webp",1000,1000,false],"author_info":[],"comment_info":0,"_links":{"self":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product\/59236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/comments?post=59236"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media\/59230"}],"wp:attachment":[{"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/media?parent=59236"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_brand?post=59236"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_cat?post=59236"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/sarhgroups.com\/en\/wp-json\/wp\/v2\/product_tag?post=59236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}