EXHIBIT 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in this Registration Statement on Form S-8 of our report dated June 21, 2021, relating to the financial statements of Samsara Inc. appearing in the Registration Statement No. 333-261204 on Form S-1, as amended.
/s/ DELOITTE & TOUCHE LLP
San Francisco, California
December 14, 2021