You set the Server Type to whatever the modpack uses, and the version as well. The settings are just under the Minecraft -> Server Settings section. There’s also a search bar in the upper right if you can’t find something.
Server Type
Minecraft -> Server Settings
There’s a FAQ here with common (Forge) hangups: