Thanks, I got it working. It’s a bit quirky.
However, it seems that the tileset and the tilemap have to be on the same Tilemap layer — is that correct?
Also, the import option for the tileset wasn’t in the top menu. I was able to import it by dragging and dropping, though.