Largely the same as for general(ized) linear models
Therefore, typically:

Extensions → Utilities → Install Custom Dialog...Analyze → Regression → PROCESS v5.0...Y VariableX VariableM Variable(s)Model Number = 4aAnalyze → General Linear Model → Univariate
Dependent Variable choose the
MediatorFixed Factor or Covariate choose the
PredictorPredictor significantly
predicts Mediator
b and c′Analyze → General Linear Model → Univariate
Dependent Variable choose the
OutcomeFixed Factor or Covariate choose the
Predictor and MediatorMediator gives bPredictor gives c′
cDependent Variable choose the
OutcomeFixed Factor or Covariate choose the
Predictor alonePredictor is c
ab Path & 95% CITransform > Compute VariableAnalyze → General Linear Model → Univariate
Dependent Variable choose the
OutcomeFixed Factor or Covariate choose the
Predictor and MediatorBootstrap...
Number of bootstrap samples: 5000Confidence intervals: BCa or Percentile (95%)