  We investigate a two Higgs doublet model with extra flavour depending
$U(1)_X$ gauge symmetry where $Z'$ boson interactions can explain the Atomki
anomaly by choosing appropriate charge assignment for the SM fermions. For
parameter region explaining the Atomki anomaly we obtain light scalar boson
with $\mathcal{O}(10)$ GeV mass, and we explore scalar sector to search for
allowed parameter space. We then discuss anomalous magnetic dipole moment of
muon and lepton flavour violating processes induced by Yukawa couplings of our
model.
