Customization with Minecraft - how do i use a modpack

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.

There’s a FAQ here with common (Forge) hangups: