Blue Canvas
Plans
EN|ESContact usLoginGet Started
Best Practices

MavensMate and Sublime Text

How to set up MavensMate with Sublime Text.

Randalyn Hill-CofferBy Randalyn Hill-Coffer·Reviewed by the Blue Canvas team·December 4, 2024·Updated May 26, 2023·3 min read
In this article

    As we mentioned in our previous post on MavensMate for Visual Studio Code, we love MavensMate. It’s an incredibly powerful tool that helps you work more effectively as a Salesforce developer. MavensMate is open source and offers plugins for Visual Studio, Atom and Sublime Text 3. Many developers use MavensMate to deploy code changes to their Salesforce orgs by clicking save in their text editor. There are many other great reasons to use MavensMate. Our initial post covers most of the background on MavensMate including what it is and how it’s useful. This post is designed to help you install one of the most popular Salesforce developer tools: MavensMate for Sublime Text.

    PREREQUISITES

    The MavensMate for Sublime Text plugin requires Sublime Text 3 to be installed. It also requires the MavensMate desktop client which you can download on GitHub here.

    The MavensMate desktop client does not care which text editor plugin you are using so installing the client is a good place to start.

    You can learn more about all the features of the MavensMate desktop client on our post about MavensMate for Visual Studio Code.

    INSTALL THE MAVENSMATE PLUGIN FOR SUBLIME TEXT

    Once you have MavensMate desktop client installed, you can install the MavensMate plugin for Sublime.

    First, make sure you have package control installed for Sublime Text 3. (Note: You may already have it installed.)

    Then, open Package Control by either visiting Preferences > Package Control or just typing cmd+shift+P. Next, type “Install Package”:

    install-package-min.png

    You are then prompted to search for Packages in Sublime. Search for MavensMateand install the plugin.

    mavensmate-plugin-search-min.png

    Once that’s done you’ll get a message like this:

    MavensMate for Sublime Text v7.0.2

    Welcome to MavensMate for Sublime Text. In order for this plugin to operate, MavensMate Desktop must be installed and running. Please visit https://github.com/joeferraro/MavensMate/tree/master/docs for more information. Happy Coding!

    CONFIGURE MAVENSMATE DESKTOP CLIENT TO WORK WITH SUBLIME

    Once the MavensMate desktop client and Sublime Text plugin are successfully installed, you just need to configure the desktop client to connect to your Salesforce project and tell MavensMate which metadata to track.

    First, open MavensMate and select New Project or Open Project.

    connect-sandbox-min.png

    MavensMate allows you to convert your text editor into something akin to the Salesforce developer console through OAuth 2.0. Tell MavensMate which kind of org you wish to connect and click Connect. You’ll be prompted to login to your Salesforce sandbox; just input the username and password for that org in the prompt. You’ll be asked for various permissions from MavensMate.

    mavensmate-oauth-min.png

    WHICH METADATA SHOULD MAVENSMATE TRACK

    Once you click Allow, MavensMate will ask you which metadata types you want to track. For example, do you want Apex Classes, Triggers, Pages, and Static Resources or is it okay to leave Static Resources out?

    MavensMate just tracks the metadata that you tell it to. To make selections about metadata go to the Advanced tab and use the selection tool.

    advanced-min.png

    Then, visit the Metadata tab and again select the metadata you want tracked.

    metadata-min.png

    Once you’ve selected your metadata, give the project a new name in Project Detailsand click Create Project. Note: You can go to Edit Project and change the types of metadata you track at any time.

    OPEN IN SUBLIME

    open-in-sublime-min.png

    You should now see Sublime listed as one of your editor options in the desktop client. Click Open in Sublime to launch your project in Sublime. You should now see your project metadata there. You can now make changes and when you save, MavensMate will validate the change and automatically upload it to the connected Org, just as it would if you were working on an Apex class or trigger in the developer console on Salesforce.

    save-min.png

    Now that you’ve got the MavensMate plugin for Sublime installed and working, you can go about your day and code just as you normally would. Each time you save, MavensMate will automatically deploy that code to the server. Because Blue Canvasautomatically picks up your changes and commits them to source control, you can now easily use MavensMate with Blue Canvas. With Blue Canvas and MavensMate, you have full continuous backups of all changes in your Salesforce orgs, as well as the ability to rollback to previous states of your application. You can even use Blue Canvas and MavensMate to compare differences and deploy between Salesforce environments.

    To learn more about MavensMate and how it can work with Blue Canvas, check out our first post about MavensMate for Salesforce.

    ‍

    Comments

    Leave a comment

    Newsletter
    Salesforce DevOps tips in your inbox

    New posts, releases and practical guides. No spam, unsubscribe anytime.

    TABLE OF CONTENTS
    • PREREQUISITES
    • INSTALL THE MAVENSMATE PLUGIN FOR SUBLIME TEXT
    • CONFIGURE MAVENSMATE DESKTOP CLIENT TO WORK WITH SUBLIME
    • WHICH METADATA SHOULD MAVENSMATE TRACK
    • OPEN IN SUBLIME
    You may like
    Trending on Blue Canvas
    Talk through your Salesforce setup

    Get a focused walkthrough or a tailored quote

    Book a consultationRequest a quote
    Customer stories
    Real teams, real results
    Sysco
    Sysco
    Left Jenkins behind and cut deployments from hours to minutes
    Twilio
    Twilio
    Saved 2–3 days each sprint while scaling the team quickly
    Catalyst Consulting
    Catalyst Consulting
    The City of Chicago saves hours every day with code reviews and structured rollouts
    You might also like our other posts...
    Read more
    Salesforce DevOps
    Kenji Sano | October 14, 2026
    7 Best Salesforce Version Control Tools in 2026: Compared

    A practical comparison of seven Salesforce version control options, with strengths, trade-offs, Git support, admin usability, and guidance for choosing the right fit.

    Read more
    Salesforce DevOps
    Kenji Sano | October 6, 2026
    The 8 Best Salesforce Deployment Tools in 2026

    Compare the top 8 tools side by side — and see which one fits your team.

    Read more
    Architecture and Resources
    Randalyn Hill-Coffer | October 5, 2026
    Top 19 Academic Operations Tools for Salesforce-Run Higher Ed Campuses in 2027

    Compare 19 academic operations and adjacent higher ed tools for Salesforce-run campuses in 2027. See what runs on Salesforce, what connects through your SIS, and where you may need an integration.

    Blue Canvas

    Salesforce DevOps for teams. Git-based version control, metadata backups, and continuous deployment.

    (786) 591-0702

    SOC 2 certifiedSalesforce PartnerSalesforce AppExchange

    Salesforce Deployment

    • Deployment Tools
    • For Salesforce Metadata
    • For CPQ Data

    Product

    • Features
    • Security
    • Customer stories
    • Pricing

    Resources

    • Docs
    • Blog
    • Academic Operations
    • Anthropic x Salesforce Poll
    • Partners
    • Integrations
    • Release Management

    Company

    • About us
    • Contact us
    • Careers
    • X (Twitter)
    • LinkedIn
    • GitHub
    Stay Updated
    Product Updates

    Get the latest features, releases, and technical deep-dives delivered straight to your inbox.

    Secure & Private

    ·

    No spam, unsubscribe anytime

    © 2026 Blue Canvas. All rights reserved.

    Privacy PolicyTerms of usage