It doesn't matter if raid boss is last hit by a summon or a pet, AI will always try to level up the crystal if these conditions are met:
you can't be too far from the raid boss
you must have only one crystal in your inventory (the one you want to level up)
You don't have to use the "absorb" skill, it will always happen automatically.