Running FSL/fsl_sub on a cluster with Slurm

Hi,
Anyone have any experience with running FSL, using the fsl_sub command on a cluster that uses Slurm as it’s scheduler? I got a question regarding how to set the number of cores, so like #SBATCH -c 4, for the specific job. Any help would be appreciated.

Thanks!