There is a 'spark' tab in the cluster creation page, you can add the configs there before starting the cluster.