{"id":369603,"date":"2025-11-11T16:44:12","date_gmt":"2025-11-11T10:44:12","guid":{"rendered":"https:\/\/directorist.com\/?post_type=docs&#038;p=369603"},"modified":"2025-12-28T21:02:17","modified_gmt":"2025-12-28T15:02:17","password":"","slug":"google-calendar-integration","status":"publish","type":"docs","link":"https:\/\/directorist.com\/docs\/google-calendar-integration\/","title":{"rendered":"Google Calendar Integration"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Google Calendar Integration with Directorist Booking Extension\" width=\"1140\" height=\"641\" src=\"https:\/\/www.youtube.com\/embed\/EMn-ZqxAQTs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The Google Calendar integration helps you automatically sync your&nbsp;<strong>Service<\/strong>&nbsp;and&nbsp;<strong>Rent<\/strong>&nbsp;bookings with your Google Calendar. It also checks for conflicts in your other calendars to prevent double bookings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Create Google API Credentials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to&nbsp;<a href=\"https:\/\/console.cloud.google.com\/\" target=\"_blank\" rel=\"noopener\">Google Cloud Console<\/a>&nbsp;and sign in with the same Google account you use for bookings.<\/li>\n\n\n\n<li>Create or select a project.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"709\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-11-1024x709.png\" alt=\"\" class=\"wp-image-369608\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-11-1024x709.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-11-300x208.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-11-768x532.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-11-1536x1064.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-11.png 1634w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enable the&nbsp;<strong>Google Calendar API<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>APIs &amp; Services \u2192 Enabled APIs &amp; Services \u2192 + ENABLE APIS AND SERVICES<\/strong><\/li>\n\n\n\n<li>Search for \u201cGoogle Calendar API\u201d and enable it.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"272\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-9-1024x272.png\" alt=\"\" class=\"wp-image-369606\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-9-1024x272.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-9-300x80.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-9-768x204.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-9-1536x408.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-9-2048x543.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"977\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-10-1024x977.png\" alt=\"\" class=\"wp-image-369607\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-10-1024x977.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-10-300x286.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-10-768x733.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-10.png 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create an&nbsp;<strong>OAuth client ID<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Go to&nbsp;<strong>APIs &amp; Services \u2192 Credentials \u2192 + CREATE CREDENTIALS \u2192 OAuth client ID<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1001\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-12-1024x1001.png\" alt=\"\" class=\"wp-image-369609\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-12-1024x1001.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-12-300x293.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-12-768x751.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-12.png 1178w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"386\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-13-1024x386.png\" alt=\"\" class=\"wp-image-369610\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-13-1024x386.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-13-300x113.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-13-768x289.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-13-1536x578.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-13.png 2018w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>If asked, configure the consent screen first.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provide basic&nbsp;<strong>App information<\/strong>&nbsp;(App name, email, etc.).<\/li>\n\n\n\n<li>Set&nbsp;<strong>User Type<\/strong>&nbsp;(Audience type) to&nbsp;<strong>External<\/strong>.<\/li>\n\n\n\n<li>Add your&nbsp;<strong>contact email<\/strong>&nbsp;and agree to the&nbsp;<strong>Google policies<\/strong>.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Create<\/strong>&nbsp;to continue.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"1024\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-14-946x1024.png\" alt=\"\" class=\"wp-image-369612\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-14-946x1024.png 946w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-14-277x300.png 277w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-14-768x832.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-14.png 1088w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You will land in Overview section and from here click <strong>Create 0Auth Client<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"210\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-15-1024x210.png\" alt=\"\" class=\"wp-image-369613\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-15-1024x210.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-15-300x62.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-15-768x158.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-15-1536x315.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-15-2048x420.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose&nbsp;<strong>Web application<\/strong>&nbsp;as the application type and provide a Name.<\/li>\n\n\n\n<li>Add this&nbsp;<strong>redirect URI<\/strong>:<code>https:\/\/your-site.com\/wp-admin\/admin-ajax.php?action=bdb_google_oauth_callback <\/code>Replace&nbsp;<code>your-site.com<\/code>&nbsp;with your actual domain.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"761\" height=\"1024\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-16-761x1024.png\" alt=\"\" class=\"wp-image-369614\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-16-761x1024.png 761w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-16-223x300.png 223w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-16-768x1034.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-16-1141x1536.png 1141w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-16.png 1370w\" sizes=\"auto, (max-width: 761px) 100vw, 761px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Copy the generated&nbsp;<strong>Client ID<\/strong>&nbsp;and&nbsp;<strong>Client Secret<\/strong>. You\u2019ll need them later.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"919\" height=\"1024\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-17-919x1024.png\" alt=\"\" class=\"wp-image-369615\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-17-919x1024.png 919w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-17-269x300.png 269w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-17-768x856.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-17.png 1134w\" sizes=\"auto, (max-width: 919px) 100vw, 919px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now you have to publish the app. Go to <strong>Audience <\/strong>and Hit the<strong> Publish app<\/strong> button.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"726\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-24-1024x726.png\" alt=\"\" class=\"wp-image-369661\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-24-1024x726.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-24-300x213.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-24-768x545.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-24.png 1086w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Connect Google Calendar in Directorist Booking<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to your WordPress admin dashboard.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"267\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-18-1024x267.png\" alt=\"\" class=\"wp-image-369616\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-18-1024x267.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-18-300x78.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-18-768x200.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-18-1536x400.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-18-2048x534.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the&nbsp;<strong>Booking Dashboard<\/strong>&nbsp;and click&nbsp;<strong>Connect Google Calendar<\/strong>&nbsp;(Step 1 modal).<\/li>\n\n\n\n<li>Enter your&nbsp;<strong>Client ID<\/strong>&nbsp;and&nbsp;<strong>Client Secret<\/strong> and click <strong>Connect Calendar<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"751\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-20-1024x751.png\" alt=\"\" class=\"wp-image-369618\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-20-1024x751.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-20-300x220.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-20-768x563.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-20.png 1216w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click&nbsp;<strong>Connect<\/strong>, then approve the permissions in the Google pop-up.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"735\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-21-1024x735.png\" alt=\"\" class=\"wp-image-369619\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-21-1024x735.png 1024w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-21-300x215.png 300w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-21-768x551.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-21-1536x1102.png 1536w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-21-2048x1469.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After successful connection, the button changes to&nbsp;<strong>Calendar Setup,<\/strong> and click on that<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<h2 class=\"wp-block-heading\">Step 3: Calendar Setup<\/h2>\n\n\n\n<p>After connecting your Google account, the next step is to configure your calendar preferences.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Primary Booking Calendar<\/strong>\n<ul class=\"wp-block-list\">\n<li>Choose the calendar where new bookings will be automatically added.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Conflict Prevention (Recommended)<\/strong>\n<ul class=\"wp-block-list\">\n<li>Select calendars that should be checked for schedule conflicts before accepting a booking.<\/li>\n\n\n\n<li>You can select multiple calendars.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Once your selections are made, click&nbsp;<strong>Complete Setup<\/strong>&nbsp;to save.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"910\" height=\"1024\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-22-910x1024.png\" alt=\"\" class=\"wp-image-369620\" srcset=\"https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-22-910x1024.png 910w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-22-267x300.png 267w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-22-768x864.png 768w, https:\/\/directorist.com\/wp-content\/uploads\/2025\/11\/image-22.png 1264w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/figure>\n\n\n\n<p>You can return to this screen anytime to update or disconnect your Google Calendar by clicking&nbsp;<strong>Disconnect<\/strong>&nbsp;at the bottom left.<\/p>\n\n\n\n<p>Once setup is complete, your bookings will automatically appear in Google Calendar, keeping your schedule up-to-date and preventing double bookings.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: How Syncing Works<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When a&nbsp;<strong>Service<\/strong>&nbsp;or&nbsp;<strong>Rent<\/strong>&nbsp;booking is&nbsp;<strong>Confirmed<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Directorist refreshes your Google tokens if needed.<\/li>\n\n\n\n<li>It checks selected calendars for time conflicts.<\/li>\n\n\n\n<li>If no conflict is found, it creates the event in your&nbsp;<strong>Primary Calendar<\/strong>&nbsp;with guest details.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>When the booking is&nbsp;<strong>Cancelled<\/strong>, the corresponding Google Calendar event is automatically removed.<\/li>\n\n\n\n<li>To remove all Google data and tokens, click&nbsp;<strong>Disconnect Google Calendar<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><strong>Note:<\/strong>&nbsp;Google Calendar sync works only for listings with booking types&nbsp;<strong>Service<\/strong>&nbsp;or&nbsp;<strong>Rent<\/strong>.<br>Event-type listings are not synced<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Google Calendar integration helps you automatically sync your&nbsp;Service&nbsp;and&nbsp;Rent&nbsp;bookings with your Google Calendar. It also checks for conflicts in your other calendars to prevent double bookings. Step 1: Create Google API Credentials If asked, configure the consent screen first. Step 2: Connect Google Calendar in Directorist Booking Step 4: How Syncing Works Note:&nbsp;Google Calendar sync [&hellip;]<\/p>\n","protected":false},"author":24585,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[714],"doc_tag":[],"class_list":["post-369603","docs","type-docs","status-publish","hentry","doc_category-directorist-booking"],"year_month":"2026-03","word_count":517,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"yousuf.sovware","author_nicename":"yousuf-sovware","author_url":"https:\/\/directorist.com\/author\/yousuf-sovware\/"},"doc_category_info":[{"term_name":"Directorist Booking","term_url":"https:\/\/directorist.com\/docs-category\/directorist-booking\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/369603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/users\/24585"}],"replies":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/comments?post=369603"}],"version-history":[{"count":0,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/369603\/revisions"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/media?parent=369603"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_category?post=369603"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_tag?post=369603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}