{"id":10418,"date":"2025-09-22T19:52:07","date_gmt":"2025-09-22T23:52:07","guid":{"rendered":"https:\/\/learndash.com\/support\/?post_type=docs&#038;p=10418"},"modified":"2025-09-23T09:46:56","modified_gmt":"2025-09-23T13:46:56","password":"","slug":"how-to-create-your-google-play-developer-service-account-key-for-your-learndash-app","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/learndash-app\/done-for-you\/how-to-create-your-google-play-developer-service-account-key-for-your-learndash-app\/","title":{"rendered":"How to Create Your Google Play Developer Service Account Key for Your Learndash App"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-introduction\"><strong>Introduction<\/strong><\/h2>\n\n\n\n<p>Automate release management and revenue reporting in your Learndash App using the Google Play Developer API. This guide walks you through linking your Google Cloud project, creating a service account, generating a JSON key, and connecting it in the Learndash App plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-linking-your-google-cloud-project\"><strong>Linking Your Google Cloud Project<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In your WordPress admin, navigate to <strong>Learndash App &gt; Configure &gt; Android Settings &gt; Connect Your Google Developer Account<\/strong>.<br><\/li>\n\n\n\n<li>When prompted, choose <strong>Link Existing Project<\/strong> or <strong>Create New Project<\/strong> in the Google Cloud dialog.<br><\/li>\n\n\n\n<li>Confirm your project is linked before proceeding.<br><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-creating-a-service-account\"><strong>Creating a Service Account<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the <strong>API Access<\/strong> page in WordPress, click <strong>Create New Service Account<\/strong>.<br><\/li>\n\n\n\n<li>In the Google Cloud popup, click the <strong>Google Cloud Platform<\/strong> link.<br><\/li>\n\n\n\n<li>Select your project and click <strong>Create Service Account<\/strong>.<br><\/li>\n\n\n\n<li>Enter a <strong>Name<\/strong> and click <strong>Create<\/strong>.<br><\/li>\n\n\n\n<li>Under <strong>Select a role<\/strong>, choose <strong>Basic &gt; Owner<\/strong>, then click <strong>Continue<\/strong>.<br><\/li>\n\n\n\n<li>Click <strong>Done<\/strong> to finalize the service account setup.<br><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-generating-your-json-key\"><strong>Generating Your JSON Key<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Back on the <strong>API Access<\/strong> page, find your new service account and click <strong>\u22ee &gt; Manage Keys<\/strong>.<br><\/li>\n\n\n\n<li>Click <strong>Add Key &gt; Create New Key<\/strong>.<br><\/li>\n\n\n\n<li>Select <strong>JSON<\/strong> for the key type and click <strong>Create<\/strong>.<br><\/li>\n\n\n\n<li><strong>Note:<\/strong> The key file will download immediately and only once. Store it securely.<br><\/li>\n\n\n\n<li>Click <strong>Done<\/strong> to close the key management dialog.<br><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-granting-play-console-permissions\"><strong>Granting Play Console Permissions<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Still under <strong>API Access<\/strong>, click <strong>Grant Access<\/strong> next to your service account.<br><\/li>\n\n\n\n<li>Enable the following permissions:<br>\n<ul class=\"wp-block-list\">\n<li>View App Information &amp; Download Financial Reports<br><\/li>\n\n\n\n<li>View Financial Data, Orders, &amp; Cancellations<br><\/li>\n\n\n\n<li>Manage Orders &amp; Subscriptions<br><\/li>\n\n\n\n<li>Create\/Edit\/Delete Draft Apps<br><\/li>\n\n\n\n<li>Release to Production<br><\/li>\n\n\n\n<li>Exclude Devices &amp; Use Play App Signing<br><\/li>\n\n\n\n<li>Release Apps to Testing Tracks<br><\/li>\n\n\n\n<li>Manage Testing Tracks &amp; Tester Lists<br><\/li>\n\n\n\n<li>Manage Store Presence<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click <strong>Invite User<\/strong> and then <strong>Send Invite<\/strong>.<br><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-connecting-your-key-in-learndash-app\"><strong>Connecting Your Key in Learndash App<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In WordPress, go to <strong>Learndash App &gt; Configure &gt; Settings &gt; Developer Account API Access<\/strong>.<br><\/li>\n\n\n\n<li>Under <strong>Connect Your Service Account<\/strong>, click <strong>Upload JSON Key<\/strong> and select the downloaded file.<br><\/li>\n\n\n\n<li>Click <strong>Save Changes<\/strong>.<br><\/li>\n\n\n\n<li>Confirm the connection status shows <strong>Connected<\/strong>.<br><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1287\" height=\"337\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Create-Your-Google-Play-Developer-Service-Account-Key-for-Your-Learndash-App-_-1.png\" alt=\"Screenshot of how to connect your Google Developer Account\" class=\"wp-image-10675\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Create-Your-Google-Play-Developer-Service-Account-Key-for-Your-Learndash-App-_-1.png 1287w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Create-Your-Google-Play-Developer-Service-Account-Key-for-Your-Learndash-App-_-1-400x105.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Create-Your-Google-Play-Developer-Service-Account-Key-for-Your-Learndash-App-_-1-800x209.png 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Create-Your-Google-Play-Developer-Service-Account-Key-for-Your-Learndash-App-_-1-768x201.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2025\/08\/How-to-Create-Your-Google-Play-Developer-Service-Account-Key-for-Your-Learndash-App-_-1-360x94.png 360w\" sizes=\"auto, (max-width: 1287px) 100vw, 1287px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-troubleshooting-and-faqs\"><strong>Troubleshooting and FAQs<\/strong><\/h2>\n\n\n\n<p><strong>Q: I don\u2019t see my project when linking.<\/strong><strong><br><\/strong> A: Ensure you have <strong>Owner<\/strong> access in the Google Cloud project and you\u2019re signed into the correct Google account.<\/p>\n\n\n\n<p><strong>Q: The \u201cCreate Service Account\u201d button is greyed out.<\/strong><strong><br><\/strong> A: Verify billing is enabled on your Google Cloud project. Service accounts require an active billing setup.<\/p>\n\n\n\n<p><strong>Q: My JSON key download failed or was lost.<\/strong><strong><br><\/strong> A: You cannot re-download a key. Go to <strong>Manage Keys<\/strong> and <strong>Create New Key<\/strong> to generate a replacement.<\/p>\n\n\n\n<p><strong>Q: API calls return \u201cUnauthorized\u201d after connecting.<\/strong><strong><br><\/strong> A: Confirm the service account accepted the Play Console invite email and that the JSON file is correctly uploaded.<\/p>\n\n\n\n<p><strong>Q: Certain API actions still fail despite \u201cOwner\u201d role.<\/strong><strong><br><\/strong> A: Double-check Play Console permissions under <strong>Account Permissions<\/strong>, resend the invite, and ensure the service account email matches exactly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Automate release management and revenue reporting in your Learndash App using the Google Play Developer API. This guide walks you through linking your Google Cloud project, creating a service account, generating a JSON key, and connecting it in the Learndash App plugin. Linking Your Google Cloud Project Creating a Service Account Generating Your JSON&#8230;<\/p>\n","protected":false},"author":58,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_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,"footnotes":""},"doc_category":[291],"doc_tag":[],"knowledge_base":[283],"class_list":["post-10418","docs","type-docs","status-publish","hentry","doc_category-done-for-you","knowledge_base-learndash-app"],"year_month":"2026-04","word_count":462,"total_views":"987","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"Stephanie Liy","author_link":"https:\/\/learndash.com\/support\/author\/stephaniei\/"},"doc_category_info":[{"term_name":"Done For You","term_url":"https:\/\/learndash.com\/support\/kb\/learndash-app\/done-for-you\/"}],"doc_tag_info":[],"taxonomy_info":{"doc_category":[{"value":291,"label":"Done For You"}],"knowledge_base":[{"value":283,"label":"LearnDash App"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"LearnDash App","term_url":"https:\/\/learndash.com\/support\/kb\/learndash-app\/","term_slug":"learndash-app"}],"knowledge_base_slug":["learndash-app"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=10418"}],"version-history":[{"count":2,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10418\/revisions"}],"predecessor-version":[{"id":10677,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/10418\/revisions\/10677"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=10418"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=10418"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=10418"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=10418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}