First of all you have to have good communications with the sip supplier.
In the house design that I'm currently working on we have two porches (one front one back) outside of the sips enclosure system.
We are supporting the outer edge of the porch with posts to their own footings. The inside edge is being supported by a bracket hanging off the side of the foundation below the sips' bottom edge.
With a space between the porch decking and the house siding on the surface of the sip.
At the roof line the sip manufacturer will embed a horizontal block in the sip behind the osb. This block will have a mate outside the osb, an outer block (being a rafter ledger) and it will be lag screwed to the inner block. And if needed the inner block will have a support running down inside the sip to the foundation.
The lag will only penetrate the outer osb. And will be protected from the weather by the porch roof, so that the possibility of moisture will be removed. And the possibility of condensation from the hot/cold action will be reduced.
Here is a rough cross section drawing of the deck support at the foundation wall:

I call it a rough drawing as the bracket itself hasn't been specified yet, and of course it will bolt directly to the foundation not to the 2" foam.
And the z flashing may not be installed to allow a space for any debris to pass through.
Jim Rogers