Netlify

The Netlify connector helps you build, deploy, and host the frontend of your web applications via Contentstack. For instance, consider a scenario where you update some content in Contentstack. This update triggers a webhook that notifies the Netlify connector to create a production build and deploy the frontend changes.

Set Up Netlify

Perform the following steps to set up the Netlify action connector:

  1. In the Configure Action window, select the Netlify connector.
    Configure_Connector.png
  2. In the Select an Action tab, select the Deploy site action.
    Deploy_Site_Action.png
  3. In the Configure Action tab, click on + Add New Account to add your Netlify account.
    Add_Account_Netlify.png
  4. Provide details for the Title and Token fields. You can generate a new token from the Personal access token section in your Netlify console. Navigate to User settings > Applications > New access token > Generate token
    Netlify_Dashboard.png

    Additional Resource: For more information, refer to the Obtain a token in Netlify UI document.

  5. Once done, click on the Authorize button.
    Authorize_Popup.png
  6. Click on the Site ID textbox and select an ID from the LOOKUP drop-down. The Site ID is a unique identification given to a project configured in Netlify. You can select the desired project for which you want to configure the Netlify connector.
    Site_ID.png
  7. Once done, click on Proceed.
    Proceed_To_Test_Action.png
  8. Click on the Test Action button to test the configured action connector. 
    Test_Action.png
  9. Once the action is successfully executed, you will get the final output, and the build gets initiated in your Netlify console. Click on Save and Exit to finish the process.
    Save_And_Exit.png
  10. Log in to your Netlify console and navigate to the Deploy log window to check whether the build has been initiated or not.
    Deploy_Log.png

This sets up the Netlify action connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^