Except of course, that will exceed a homes amperage, which will require pulling a permit, and having an electrician come in and evaluate if you need a new electrical service.It's really no more difficult than running a connection for an electric range, dryer or AC unit. Just a basic 40 amp 220 volt line
You could do it on 200 amp service but that would be a bit dangerous if you have a dryer, air conditioner, and electric stove.
400 amp would be safest. And as we know, most homes or people use two cars, hence you are talking at least 80 amps (start up power) just for your cars.
There really is nothing basic about a 40 amp 220 volt line, you must have an electrician that will pull a permit.