LogoLogo
HomepageResellerPricingSign in
  • AppMachine
  • ๐Ÿ“ƒProduct Updates
  • ๐Ÿ‘ทBuild your app
    • Preview your app
    • App templates
    • App Settings
    • Update payment method
    • Cancel subscription
  • โ”General App Building FAQ
  • How to
  • ๐ŸงฑBlocks
    • ๐Ÿ” Admin
    • ๐Ÿ“„Blank Page
    • ๐Ÿ“žCall
    • ๐ŸขContact
    • ๐Ÿ“Contact Us
    • ๐ŸงพCoupons
    • ๐Ÿ“ƒCustom Form
    • ๐Ÿ“งEmail
    • ๐Ÿ—“๏ธEvents
    • โ”FAQ
    • ๐ŸŒFacebook
    • ๐Ÿ•‘Hours
    • โ„น๏ธInformation
    • ๐Ÿ“ฃIntro
    • โ˜•JavaScript
    • ๐Ÿ”’Lock
    • ๐ŸŽงMusic
    • ๐Ÿ“ฐNews
    • ๐Ÿ“ƒPDF
    • ๐Ÿ—บ๏ธPOI
    • ๐Ÿ‘ฅPeople
    • ๐Ÿ“ทPhotos
    • ๐ŸฌProducts
    • ๐Ÿ“ฉPush Messages
    • ๐Ÿ“ปRadio
    • โ†ช๏ธSubmenu
    • ๐ŸฆTwitter
    • ๐Ÿ‘จโ€๐Ÿ’ปURLs
    • ๐Ÿ–ฅ๏ธWeb Page
    • ๐Ÿ“บVideo
    • ๐Ÿ“ฑWhatsApp
  • ๐Ÿ“ƒData
    • Appmachine Data
    • Delete (test) data from Custom Form
    • Google Sheets
    • Web services
  • ๐Ÿ–Œ๏ธStyle your app
    • Theme
    • Home Screen
    • FAQ Style
  • ๐ŸŽจStyle your screens
    • Elements
  • Share your app
    • โœˆ๏ธPublishing your app
      • Technical Setup Quick Start Guide
      • Update your app
      • Unpublish an app from the app stores
    • ๐ŸŒWeb App Publishing
      • Hosting on custom domain
    • ๐ŸApple App Store
      • iOS developer account
      • App Store Connect API keys
      • Link your app
      • New app record in App Store Connect
      • App privacy details
      • Edit Store information
      • Fix App publish issues
      • Push certificates
      • App Store Connect app status overview
      • App Store Review Guidelines
      • Publish app Unlisted
      • Accept updated License agreement
      • Apple App Store FAQ
      • iPad
      • Enterprise
        • Setup your Enterprise app
        • Create iOS Distribution Certificate
        • Create App ID
        • Create Mobile Provisioning Profile
        • Downloading and installing an Enterprise app
    • ๐ŸGoogle Play
      • Create a Google Developer Account
      • Setup your Android app
      • How to request a Google Maps API Key
      • Test your Android app before publishing to Google Play
      • Upload your Android app to Google Play Store for the first time
      • Update Android app (short)
      • Update an Android app (extended)
      • Data safety details on the Google Play Store
      • Sell your app in Google Play Store
      • Create Google merchant account
      • Force Store Update for your Android App
      • Authorise an additional user to your Google Play developer account
      • What if my app is suspended by Google?
  • App details
    • ๐Ÿ•ต๏ธGoogle Analytics
      • Google Analytics setup overview
      • Setup iOS analytics
      • Setup Android analytics
      • Inviting a new Google Analytics user
    • ๐Ÿ”ฅFirebase
      • Create Firebase project
      • Locate Firebase Server key
      • Renew Firebase Server Key
      • Register iOS app
      • Register Android app
      • Enable Cloud Messaging
      • Enable Google Analytics
      • Google Analytics via Firebase
    • ๐Ÿ“จPush notifications
      • Setup Apple Push certificate
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘User management
      • Create Apple Sign In key
      • Setup Azure Active Directory
      • Create Facebook App ID Secret
    • ๐ŸฆTwitter API keys
    • ๐Ÿ”Privacy policy
    • ๐Ÿ‘ฉโ€๐Ÿ”งYour Account
      • Account Settings
      • Account FAQ
      • Payment FAQ
    • ๐Ÿ“ฑAdmin CMS
  • Developers
    • ๐Ÿ‘ฉโ€๐Ÿ’ปJavaScript
      • Develop locally
      • SDK
        • Core
        • JS Data
        • Media
        • Navigation
        • Notification
        • User
      • CLI
        • CLI Token and Secret
        • Errors
          • CONFIG_PROPERTIES_INVALID
          • CONFIG_VALUES_INVALID
          • ENTRY_FILE_NOT_FOUND
          • OUTPUT_DIRECTORY_IS_EMPTY
          • OUTPUT_DIRECTORY_NOT_FOUND
          • TOKEN_SECRET_NOT_PROVIDED
          • TOKEN_SECRET_NOT_VALID
      • Migrate from old Custom JS
    • ๐Ÿ’ปWeb services
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. JavaScript
  3. CLI

CLI Token and Secret

This article explains where to find and/or renew the token and secret required to enable updating the JavaScript block's code via the Command Line Interface (CLI).

PreviousCLINextErrors

Last updated 2 years ago

Was this helpful?

The CLI makes connecting a local JavaScript project to the JavaScript block of an AppMachine app possible and allows you to create, maintain, and publish updates to the JavaScript block's code directly through the command line.

Being able to setup the connection between a local JavaScript project and the JavaScript block of an AppMachine app requires the JavaScript block Mode to be set to Upload a local build. itself requires a token and secret, which can be found in the AppMachine settings of the JavaScript block to which you want to link your project.

Access to the CLI can be revoked by renewing the App secret via the refresh button.

Note: the CLI token and secret can only be viewed and/or renewed by the owner of the app.

๐Ÿ‘ฉโ€๐Ÿ’ป
Establishing a CLI connection