Wiring gas hob with electric ignition to mains
If it is solely for the use of the electronic ignition then wire it in anywhere you please. The ignition does not use that much power.

But if it has a electrocnic cooker then you need a dedicated socket AND dedicated breaker with out anything else running on that ciruit, which is also rated at high amperage and earth leakage.(Usually stoves likes this do not use a plug but have to be hard wired with copper cable into the oven where there are several warning messages)