If you use the howto from our docs (using an api key of the checkmk integration), this should work fine with checkmk 2.0