Add Intellij Idea to a defined workspace

Hi everyone I have a beginner question regarding bspwm, I work with Intellij Idea I have already created the desktop entry but I don’t know why but when I want to launch that name from the terminal that comes by default from StartupWMClass with the name jetbrains-idea the terminal does not recognize it What I want is that when I start Intellij Idea it goes to workspace 1 so you can put this “bspc rule -a sh (path) desktop = ‘^ 1’” inside the bspwm configuration file? or necessarily just a name like “code”.